diff options
-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 $@ |