26 lines
921 B
Text
26 lines
921 B
Text
|
$NetBSD: patch-tests_Makefile.in,v 1.1 2018/10/23 07:17:53 leot Exp $
|
||
|
|
||
|
Run APACHE_HTTPD targets only if an APACHE_HTTPD was defined
|
||
|
(otherwise this lead to executing a `no' program and to fail the
|
||
|
tests due that).
|
||
|
|
||
|
--- tests/Makefile.in.orig 2018-10-22 16:12:48.000000000 +0000
|
||
|
+++ tests/Makefile.in
|
||
|
@@ -2181,12 +2181,12 @@ uninstall-am: uninstall-installed_testLT
|
||
|
soup-tests.gresource: soup-tests.gresource.xml $(RESOURCES)
|
||
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) $<
|
||
|
|
||
|
-check: start-httpd
|
||
|
+@HAVE_APACHE_TRUE@check: start-httpd
|
||
|
|
||
|
-check-local: check-TESTS
|
||
|
- @$(MAKE) kill-httpd
|
||
|
+@HAVE_APACHE_TRUE@check-local: check-TESTS
|
||
|
+@HAVE_APACHE_TRUE@ @$(MAKE) kill-httpd
|
||
|
|
||
|
-.PHONY: start-httpd kill-httpd
|
||
|
+@HAVE_APACHE_TRUE@.PHONY: start-httpd kill-httpd
|
||
|
|
||
|
start-httpd:
|
||
|
@$(APACHE_HTTPD) -d $(abs_srcdir) -c "DefaultRuntimeDir `pwd`" -c "PidFile `pwd`/httpd.pid" -f `pwd`/httpd.conf -k start;
|