diff options
| author | Alan Conway <aconway@apache.org> | 2010-04-12 20:14:54 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2010-04-12 20:14:54 +0000 |
| commit | a34e28a6c9239eaefae59def6e5dbd1996dadaba (patch) | |
| tree | 600fbcdef836deffedb12ff658bb4597d6c8e66c /cpp/src/tests | |
| parent | 224bbcf0f3e6ec6b4aef731d1a4f421b6b982d86 (diff) | |
| download | qpid-python-a34e28a6c9239eaefae59def6e5dbd1996dadaba.tar.gz | |
Fix testagent.mk to generate code conditionally same as ../Makefile.am
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933393 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
| -rw-r--r-- | cpp/src/tests/testagent.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/tests/testagent.mk b/cpp/src/tests/testagent.mk index 33448ee547..0f171d9579 100644 --- a/cpp/src/tests/testagent.mk +++ b/cpp/src/tests/testagent.mk @@ -35,8 +35,10 @@ TESTAGENT_GEN_SRC= \ testagent_gen/qmf/org/apache/qpid/agent/example/Package.cpp $(TESTAGENT_GEN_SRC): testagent_gen.timestamp - -testagent_gen.timestamp: testagent.xml ../mgen.timestamp +if GENERATE +TESTAGENT_DEPS=../mgen.timestamp +endif # GENERATE +testagent_gen.timestamp: testagent.xml ${TESTAGENT_DEPS} $(QMF_GEN) -o testagent_gen/qmf $(srcdir)/testagent.xml touch $@ |
