diff options
author | Alan Conway <aconway@apache.org> | 2007-01-05 19:09:10 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2007-01-05 19:09:10 +0000 |
commit | 58734262e4739f60eb42bd6ec96e3a4d37405f19 (patch) | |
tree | f9ff92d47c372063065f66f3a74648a9f5affd77 | |
parent | ab155e071abd6323978847090a67f3d301e97289 (diff) | |
download | qpid-python-58734262e4739f60eb42bd6ec96e3a4d37405f19.tar.gz |
2007-01-05 Jim Meyering <meyering@redhat.com>
* gen/Makefile.am (gen-src.mk) [CAN_GENERATE_CODE]: Emit an empty
dependency for each generated file, in case they are renamed,
removed, or no longer generated. Otherwise, "./bootstrap --build"
would fail with e.g., `*** No rule to make target
../../gentools/templ.cpp/AMQP_HighestVersion.cpp.tmpl'.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@493140 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/gen/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/gen/Makefile.am b/cpp/gen/Makefile.am index e8edb35c6f..5d9473f615 100644 --- a/cpp/gen/Makefile.am +++ b/cpp/gen/Makefile.am @@ -11,7 +11,7 @@ MAINTAINERCLEANFILES = $(BUILT_SOURCES) # Don't attempt to run the code generator unless configure has set # CAN_GENERATE_CODE, indicating that the amqp.xml and tools needed # to run the code generator are available. -# +# if CAN_GENERATE_CODE gentools_dir = $(srcdir)/../../gentools @@ -40,6 +40,11 @@ gen-src.mk: timestamp echo 'cxx_templates = '\\ \ && find $(gentools_dir)/templ.cpp -name '*.tmpl' \ | sort -u | sed 's/.*/ & \\/;$$s/ \\//'; \ + echo '# Empty rules, in case any of these files is removed,'; \ + echo '# renamed, or no longer generated.'; \ + echo '$$(spec):'; \ + echo '$$(java_sources):'; \ + echo '$$(cxx_templates):'; \ echo endif \ ) >> $@-t mv $@-t $@ |