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
This commit is contained in:
@@ -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 :-(
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user