summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-07-25 21:38:26 +0000
committerAlan Conway <aconway@apache.org>2007-07-25 21:38:26 +0000
commitc5863f77aa84f267e7ce8518a5fd104e9a15b0ed (patch)
tree666047ab382f16082218e1e55d853b4874e1e5f8 /cpp/src
parent02f8bfcfe385e6ef53bfec2cb418a349fc6d1b24 (diff)
downloadqpid-python-c5863f77aa84f267e7ce8518a5fd104e9a15b0ed.tar.gz
Fix code generation rule to use timestamp file.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@559619 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Makefile.am b/cpp/src/Makefile.am
index e66bc5ef18..55032a9eae 100644
--- a/cpp/src/Makefile.am
+++ b/cpp/src/Makefile.am
@@ -3,11 +3,11 @@ SUBDIRS = . tests
# Generated code
-include generate.mk
-generate.mk $(generated_cpp) $(generated_h): gen
+generate.mk $(generated_cpp) $(generated_h): gen/timestamp
-gen: generate.sh $(generator)
+gen/timestamp: generate.sh $(generator)
$(srcdir)/generate.sh
- touch gen
+ touch $@
# Empty rule in case a generator file is renamed/removed.
$(generator):