summaryrefslogtreecommitdiff
path: root/cpp/bootstrap
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-08-17 15:52:07 +0000
committerAlan Conway <aconway@apache.org>2007-08-17 15:52:07 +0000
commitfd00bd1ca14d2ac2add8b0d0dba9477aafebc7d2 (patch)
treed277cf2d25a29a7688b43be1a008056f5cfdd655 /cpp/bootstrap
parentc534d81e9ef0b19a57dce9c115e6a436d9a82320 (diff)
downloadqpid-python-fd00bd1ca14d2ac2add8b0d0dba9477aafebc7d2.tar.gz
* Fixes for code generation.
- Generate make fragments in $(srcdir) to fix VPATH builds. - rubygen: generates its own .mk fragment - rubygen: moved template info from Makefile.am to generated rubygen.mk, fixes circular dependency between Makefile and rubygen.mk - removed unused templates. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@567072 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bootstrap')
-rwxr-xr-xcpp/bootstrap11
1 files changed, 9 insertions, 2 deletions
diff --git a/cpp/bootstrap b/cpp/bootstrap
index 2ecdefabd2..d96749e14b 100755
--- a/cpp/bootstrap
+++ b/cpp/bootstrap
@@ -14,8 +14,15 @@ export JAVA JAVAC
perl -ne '/^(include |if |else|endif)/ or print' Makefile.am \
| make -f - abs_srcdir=`dirname $(pwd)` gen.mk > /dev/null )
-# Create empty Makefile include files, make will generate the real contents.
-touch src/rubygen.mk src/generate.mk
+# Create initial Makefile fragments that will force make to generate
+# the real ones.
+cat > src/rubygen.mk <<EOF
+\$(srcdir)/rubygen.mk: force
+ \$(rgen_cmd)
+EOF
+
+touch src/generate.mk
+
automake
autoconf