diff options
author | Tony Garnock-Jones <tonyg@lshift.net> | 2009-07-14 13:40:33 +0100 |
---|---|---|
committer | Tony Garnock-Jones <tonyg@lshift.net> | 2009-07-14 13:40:33 +0100 |
commit | 3cf69f1362e3824ec44772971cfe6d04129dc80e (patch) | |
tree | 25c2ca772a70eb97497f65fad84052483cd2044e /librabbitmq/Makefile.am | |
parent | 7fec8ff4815c896997f0a476b282c7bac3ede7ad (diff) | |
download | rabbitmq-c-github-ask-3cf69f1362e3824ec44772971cfe6d04129dc80e.tar.gz |
Make "make distcheck" work and pass
Diffstat (limited to 'librabbitmq/Makefile.am')
-rw-r--r-- | librabbitmq/Makefile.am | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/librabbitmq/Makefile.am b/librabbitmq/Makefile.am index 44b9d78..12dbd25 100644 --- a/librabbitmq/Makefile.am +++ b/librabbitmq/Makefile.am @@ -3,14 +3,17 @@ lib_LTLIBRARIES = librabbitmq.la librabbitmq_la_SOURCES = amqp_mem.c amqp_table.c amqp_connection.c amqp_socket.c amqp_debug.c amqp_api.c nodist_librabbitmq_la_SOURCES = amqp_framing.c include_HEADERS = amqp_framing.h amqp.h -noinst_librabbitmq_la_INCLUDES = amqp_private.h +noinst_HEADERS = amqp_private.h BUILT_SOURCES = amqp_framing.h amqp_framing.c CLEANFILES = amqp_framing.h amqp_framing.c +EXTRA_DIST = codegen.py PYTHON = python2.5 -amqp_framing.h: $(AMQP_SPEC_JSON_PATH) codegen.py - PYTHONPATH=$(AMQP_CODEGEN_DIR) $(PYTHON) codegen.py header $< $@ +CODEGEN_PY=$(srcdir)/codegen.py -amqp_framing.c: $(AMQP_SPEC_JSON_PATH) codegen.py - PYTHONPATH=$(AMQP_CODEGEN_DIR) $(PYTHON) codegen.py body $< $@ +amqp_framing.h: $(AMQP_SPEC_JSON_PATH) $(CODEGEN_PY) + PYTHONPATH=$(AMQP_CODEGEN_DIR) $(PYTHON) $(CODEGEN_PY) header $< $@ + +amqp_framing.c: $(AMQP_SPEC_JSON_PATH) $(CODEGEN_PY) + PYTHONPATH=$(AMQP_CODEGEN_DIR) $(PYTHON) $(CODEGEN_PY) body $< $@ |