summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <gp@n-dimensional.de>2006-12-11 15:50:20 +0000
committerHans Ulrich Niedermann <gp@n-dimensional.de>2006-12-11 15:50:20 +0000
commit8c1c48b44c1def362d4a0129ce4de301d02411ae (patch)
treef0ebb4985607c53f6c0bdeec6f36c63e9c05d609
parentaf861647469e17ed81fdb3bc1e043e79c513465c (diff)
downloadlibgphoto2-8c1c48b44c1def362d4a0129ce4de301d02411ae.tar.gz
INSTALLCHECK_DEPS: additional dependencies for installcheck target
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9566 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r--bindings/python/Makefile.am2
-rw-r--r--installcheck.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
index 4b3ef1187..4f20bc19b 100644
--- a/bindings/python/Makefile.am
+++ b/bindings/python/Makefile.am
@@ -51,7 +51,7 @@ INSTALL_TESTS_ENVIRONMENT = env \
LD_LIBRARY_PATH=$(DESTDIR)/$(libdir):$(LD_LIBRARY_PATH)
INSTALL_TESTS = test-gp.py
-installcheck-local: $(PYTHON_LIB)
+INSTALLCHECK_DEPS = $(PYTHON_LIB)
# Breaks "make distdir" due to automake expecting all install dirs to
# depend on $prefix :-(
diff --git a/installcheck.mk b/installcheck.mk
index f4c49e299..62ae7db5c 100644
--- a/installcheck.mk
+++ b/installcheck.mk
@@ -1,5 +1,5 @@
# FIXME: Only run this if not cross-compiling
-installcheck-local: $(INSTALL_TESTS)
+installcheck-local: $(INSTALL_TESTS) $(INSTALLCHECK_DEPS)
@total=0; failed=0; success=0; ignored=0; \
echo "Running \"installcheck\" test cases..."; \
for script in $(INSTALL_TESTS); do \