diff options
-rw-r--r-- | cpp/src/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/Makefile.am b/cpp/src/Makefile.am index f267e17465..e3580521c2 100644 --- a/cpp/src/Makefile.am +++ b/cpp/src/Makefile.am @@ -74,8 +74,10 @@ noinst_PROGRAMS=generate_MethodHolderMaxSize_h generate_MethodHolderMaxSize_h_SOURCES=generate_MethodHolderMaxSize_h.cpp qpid/framing/MethodHolderMaxSize.h: generate_MethodHolderMaxSize_h ./generate_MethodHolderMaxSize_h +BUILT_SOURCES=qpid/framing/MethodHolderMaxSize.h CLEANFILES=qpid/framing/MethodHolderMaxSize.h + ## Compiler flags AM_CXXFLAGS = $(WARNING_CFLAGS) @@ -169,7 +171,6 @@ libqpidcommon_la_SOURCES = \ gen/qpid/framing/AMQP_HighestVersion.h \ gen/qpid/framing/AMQP_MethodVersionMap.cpp \ qpid/framing/MethodHolder.h qpid/framing/MethodHolder.cpp \ - qpid/framing/MethodHolderMaxSize.h \ qpid/framing/MethodHolder_construct.cpp \ qpid/Exception.cpp \ qpid/Plugin.h \ @@ -428,5 +429,6 @@ nobase_include_HEADERS = \ qpid/shared_ptr.h # Force build of qpidd during dist phase so help2man will work. -dist-hook: qpidd +dist-hook: $(BUILT_SOURCES) + $(MAKE) qpidd |