]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - Makefile
Update test suite for new location of test files.
[thirdparty/cups.git] / Makefile
index 5bf14cc5d78558a40c48e04bf45836cb54db4863..30dfa60169c57be721454f5e3dd45a034194f33a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,13 @@ include Makedefs
 DIRS   =       cups $(BUILDDIRS)
 
 
+#
+# Test suite options - normally blank, override with make command...
+#
+
+TESTOPTIONS    =
+
+
 #
 # Make all targets...
 #
@@ -197,6 +204,11 @@ install-headers:
                echo Installing header files in $$dir... ;\
                (cd $$dir; $(MAKE) $(MFLAGS) install-headers) || exit 1;\
        done
+       if test "x$(privateinclude)" != x; then \
+               echo Installing config.h into $(PRIVATEINCLUDE)...; \
+               $(INSTALL_DIR) -m 755 $(PRIVATEINCLUDE); \
+               $(INSTALL_DATA) config.h $(PRIVATEINCLUDE)/config.h; \
+       fi
 
 
 #
@@ -241,7 +253,7 @@ uninstall:
 
 test:  all unittests
        echo Running CUPS test suite...
-       cd test; ./run-stp-tests.sh
+       cd test; ./run-stp-tests.sh $(TESTOPTIONS)
 
 
 check: all unittests