summaryrefslogtreecommitdiff
path: root/cpp/examples/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/examples/Makefile.am')
-rw-r--r--cpp/examples/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/examples/Makefile.am b/cpp/examples/Makefile.am
index e5fc509eac..aa68c151ab 100644
--- a/cpp/examples/Makefile.am
+++ b/cpp/examples/Makefile.am
@@ -17,12 +17,14 @@ nobase_pkgdata_DATA= \
examples/direct/listener.cpp \
examples/direct/declare_queues.cpp
-EXTRA_DIST=$(nobase_pkgdata_DATA) verify \
+VERIFY_SCRIPT=verify \
examples/request-response/verify.in \
examples/fanout/verify.in \
examples/pub-sub/verify.in \
examples/direct/verify.in
+EXTRA_DIST=$(nobase_pkgdata_DATA) $(VERIFY_SCRIPT)
+
# Note: we don't use normal automake SUBDIRS because the example
# makefiles don't understand all the recursive automake targets.
@@ -51,3 +53,7 @@ installcheck-local:
cd $(EXAMPLE_DIR) && QPIDD=$(sbindir)/qpidd $(VERIFY)
cd $(EXAMPLE_DIR) && $(MAKE) clean
+# Tarball with verify script that can be untarred & run on
+# installed examples.
+verify.tar: $(VERIFY_SCRIPT)
+ tar cf verify.tar $(VERIFY_SCRIPT)