summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorNuno Santos <nsantos@apache.org>2008-05-08 16:27:42 +0000
committerNuno Santos <nsantos@apache.org>2008-05-08 16:27:42 +0000
commit45a0fd001f7bc63bd1e504324f596ed17e338bda (patch)
treecc879154e102291d3664d3cb50b34f1756d3b8ad /cpp
parent18f885ca547803c92e22c9bf7cf426aab0d27402 (diff)
downloadqpid-python-45a0fd001f7bc63bd1e504324f596ed17e338bda.tar.gz
QPID-1035: managementgen only exists in qpid C++ source - applying patched supplied by Matt Farrellee
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654574 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/managementgen/Makefile.am27
1 files changed, 27 insertions, 0 deletions
diff --git a/cpp/managementgen/Makefile.am b/cpp/managementgen/Makefile.am
new file mode 100644
index 0000000000..be10d9f0d1
--- /dev/null
+++ b/cpp/managementgen/Makefile.am
@@ -0,0 +1,27 @@
+managementgendir = $(datadir)/managementgen
+dist_managementgen_SCRIPTS = \
+ main.py
+nobase_managementgen_DATA = \
+ schema.py generate.py \
+ templates/Args.h \
+ templates/Class.cpp \
+ templates/Class.h \
+ templates/Makefile.mk \
+ templates/Package.cpp \
+ templates/Package.h \
+ management-types.xml
+
+dist_bin_SCRIPTS = managementgen
+
+EXTRA_DIST = $(nobase_managementgen_DATA)
+
+# This should depend on ../../specs/management-types.xml, but can't
+# because it won't exist in a dist. This rule means that dist-gzip
+# (and rpmbuild) cannot be run purely on the cpp/ directory, the
+# cpp/../specs/ directory must exist, which is not a new dependency
+# but this is an additional instance of the dependency.
+#
+# WARNING: Because this target does not have a proper dependency
+# changes to the specs/management-types.xml will not be picked up!
+management-types.xml:
+ cp ../../specs/management-types.xml .