summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/examples/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/examples/Makefile.am b/cpp/examples/Makefile.am
index d633f995a9..df7fe4dfc7 100644
--- a/cpp/examples/Makefile.am
+++ b/cpp/examples/Makefile.am
@@ -46,8 +46,9 @@ EXTRA_DIST=$(nobase_pkgdata_DATA) $(VERIFY_FILES)
force:
+VERIFY_SCRIPT=$(top_srcdir)/../bin/verify
verify: force
- cp $(top_srcdir)/../bin/verify $@
+ if [ -f $(VERIFY_SCRIPT) ] ; then cp $(VERIFY_SCRIPT) $@; fi
# Note: we don't use normal automake SUBDIRS because the example
# makefiles don't understand all the recursive automake targets.