]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix 'make dist' breakage created by header testing.
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 14 Apr 2008 13:51:31 +0000 (01:51 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 14 Apr 2008 13:51:31 +0000 (01:51 +1200)
lib/Makefile.am
src/ICAP/Makefile.am
src/Makefile.am
src/adaptation/Makefile.am
src/auth/Makefile.am
src/fs/Makefile.am
src/repl/Makefile.am
tools/Makefile.am

index cb760721b50832e7fd5a7fe09ba3cbdadfcaec0b..e4a6e82af562d172f09ea7a3af1a5f5df11223cf 100644 (file)
@@ -113,6 +113,10 @@ check_PROGRAMS= \
 testHeaders: $(top_srcdir)/include/*.h
        $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(top_srcdir)/include" || exit 1
 
+## No such file...
+testHeaders.c:
+       touch testHeaders.c
+
 tests_testAll_SOURCES= \
        tests/testArray.h \
        tests/testArray.cc \
index 7277ef9b2bd00a4d17972ee8af9288c2187a9a08..6e4c5d851b46e70f2652cdcca653aff6b8079cbf 100644 (file)
@@ -35,3 +35,7 @@ check_PROGRAMS = testHeaders
 ## test .h correctness
 testHeaders: *.h
        $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "." || exit 1
+
+## No such file...
+testHeaders.c:
+       touch testHeaders.c
index be95f6f47e9e9131f205c66811f271a13e504a22..35a8ca2dba1db09dae6aa1c1e22f69206ab8df0e 100644 (file)
@@ -1194,6 +1194,9 @@ testHeaders: *.h DiskIO/*.h
        $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "DiskIO" || exit 1
 ## src/repl/ has no .h files and its own makefile.
 
+## No such file...
+testHeaders.c:
+       touch testHeaders.c
 
 ### Template for new Unit Test Program
 ## - add tests/testX to check_PROGRAMS above.
index 05bddb5a838a0bbdf20c979571cc9406be044de7..fb09a726c6dadc209f209f91ae9104a909744981 100644 (file)
@@ -34,3 +34,7 @@ check_PROGRAMS = testHeaders
 ## test .h correctness
 testHeaders: *.h
        $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "." || exit 1
+
+## No such file...
+testHeaders.c:
+       touch testHeaders.c
index d87b2fc2139f38bae2f44305a8ad05f07b0e7e00..92093148438dba9cd855f754001f8199cf14c86a 100644 (file)
@@ -30,3 +30,7 @@ testHeaders: basic/*.h digest/*.h ntlm/*.h negotiate/*.h
        $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "ntlm" || exit 1
        $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "negotiate" || exit 1
 ## ./ has no .h files
+
+## No such file...
+testHeaders.c:
+       touch testHeaders.c
index 1643f69a3528d0591793db6eecb52d05c422607d..c2a8a6a7f0d75ce49fa7dda81dfd394439209cb4 100644 (file)
@@ -43,6 +43,9 @@ testHeaders: ufs/*.h coss/*.h
 ## aufs/ has no .h files
 ## ./ has no .h files
 
+## No such file...
+testHeaders.c:
+       touch testHeaders.c
 
 ## targets below to emulate distributed makefiles
 coss/all: libcoss.a
index 3d68b1051736d5bc1318a2436e2929141d48c59f..0710ce2b98b39aac82db25c1fcdd17eadf707306 100644 (file)
@@ -26,3 +26,7 @@ testHeaders: heap/*.h
        $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "heap" || exit 1
 ## ./ has no .h files.
 ## ./lru/ has no .h files.
+
+## No such file...
+testHeaders.c:
+       touch testHeaders.c
index cee48571de451258dad8533a8a4e741bb52e1779..ef4f9e745a505a6a3621dba9c65d50460626c4b4 100644 (file)
@@ -18,6 +18,10 @@ TESTS=$(check_PROGRAMS)
 ### Special Universal .h dependency test script
 #testHeaders: *.h
 # ./ has no .h files
+#
+## No Such file...
+#testHeaders.c:
+#      touch testHeaders.c
 
 SUBDIRS                =