diff options
Diffstat (limited to 'c++/examples/Makefile.in')
-rw-r--r-- | c++/examples/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in index 385af248..0e269d5 100644 --- a/c++/examples/Makefile.in +++ b/c++/examples/Makefile.in @@ -612,7 +612,9 @@ install-examples: $(EXAMPLEDIR) $(INSTALL_FILES) $(TEST_SCRIPT) (set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1);\ fi; \ done - @(set -x; $(INSTALL) $(builddir)/$(TEST_SCRIPT) $(EXAMPLEDIR)/.. || exit 1); + @if test $(TEST_SCRIPT) != X; then \ + (set -x; $(INSTALL) $(builddir)/$(TEST_SCRIPT) $(EXAMPLEDIR)/.. \ + || exit 1); uninstall-examples: @if test -n "$(INSTALL_FILES)" -a -d $(EXAMPLEDIR); then \ |