diff options
author | Alan Conway <aconway@apache.org> | 2007-07-25 21:29:02 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2007-07-25 21:29:02 +0000 |
commit | 02f8bfcfe385e6ef53bfec2cb418a349fc6d1b24 (patch) | |
tree | ed9cb3b0e707f0405d92d776202eeef949186bbe /cpp/src | |
parent | 0b26b443b29eb64a751d6180afefb2226e8c972b (diff) | |
download | qpid-python-02f8bfcfe385e6ef53bfec2cb418a349fc6d1b24.tar.gz |
Fix code generation rule so generator runs only once even if multiple generator files have changed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@559617 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/Makefile.am b/cpp/src/Makefile.am index 17cb66f9ff..e66bc5ef18 100644 --- a/cpp/src/Makefile.am +++ b/cpp/src/Makefile.am @@ -3,8 +3,11 @@ SUBDIRS = . tests # Generated code -include generate.mk -generate.mk $(generated_cpp) $(generated_h): generate.sh $(generator) +generate.mk $(generated_cpp) $(generated_h): gen + +gen: generate.sh $(generator) $(srcdir)/generate.sh + touch gen # Empty rule in case a generator file is renamed/removed. $(generator): |