qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject svn commit: r529628 - /incubator/qpid/trunk/qpid/cpp/gen/Makefile.am
Date Tue, 17 Apr 2007 14:44:32 GMT
Author: astitcher
Date: Tue Apr 17 07:44:30 2007
New Revision: 529628

URL: http://svn.apache.org/viewvc?view=rev&rev=529628
Log:
Fix for making gen code work again

Modified:
    incubator/qpid/trunk/qpid/cpp/gen/Makefile.am

Modified: incubator/qpid/trunk/qpid/cpp/gen/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/gen/Makefile.am?view=diff&rev=529628&r1=529627&r2=529628
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/gen/Makefile.am (original)
+++ incubator/qpid/trunk/qpid/cpp/gen/Makefile.am Tue Apr 17 07:44:30 2007
@@ -3,7 +3,7 @@
 #
 -include gen-src.mk
 
-BUILT_SOURCES = gen-src.mk $(generated_cpp) $(generated_h)
+BUILT_SOURCES = gen-src.mk qpid/timestamp $(generated_cpp) $(generated_h)
 
 # Distribute the generated sources, since the code generator depends
 # on tools that may not be available in the build environment.
@@ -22,13 +22,12 @@
 spec_dir = $(top_srcdir)/../specs
 spec = $(spec_dir)/amqp.0-9.xml $(spec_dir)/amqp-errata.0-9.xml
 
-qpid $(generated_cpp) $(generated_h): $(spec) $(java_sources) $(cxx_templates) 
-	rm -rf qpid
+qpid/timestamp $(generated_cpp) $(generated_h): $(spec) $(java_sources) $(cxx_templates)

 	mkdir -p qpid/framing
 	cd $(gentools_srcdir) && rm -f *.class && $(JAVAC) *.java
 	$(JAVA) -cp $(gentools_dir)/src org.apache.qpid.gentools.Main \
 	        -c -o qpid/framing -t $(gentools_dir)/templ.cpp $(spec)
-	touch qpid
+	touch qpid/timestamp
 
 gen-src.mk: qpid gen-src-mk.sh
 	$(srcdir)/gen-src-mk.sh $(gentools_dir) $(gentools_srcdir) > $@-t



Mime
View raw message