From: Amos Jeffries Date: Mon, 14 Apr 2008 13:51:31 +0000 (+1200) Subject: Fix 'make dist' breakage created by header testing. X-Git-Tag: SQUID_3_1_0_1~49^2~296 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e42cf182bce21b9a627c84017c95ef240214fb4;p=thirdparty%2Fsquid.git Fix 'make dist' breakage created by header testing. --- diff --git a/lib/Makefile.am b/lib/Makefile.am index cb760721b5..e4a6e82af5 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -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 \ diff --git a/src/ICAP/Makefile.am b/src/ICAP/Makefile.am index 7277ef9b2b..6e4c5d851b 100644 --- a/src/ICAP/Makefile.am +++ b/src/ICAP/Makefile.am @@ -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 diff --git a/src/Makefile.am b/src/Makefile.am index be95f6f47e..35a8ca2dba 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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. diff --git a/src/adaptation/Makefile.am b/src/adaptation/Makefile.am index 05bddb5a83..fb09a726c6 100644 --- a/src/adaptation/Makefile.am +++ b/src/adaptation/Makefile.am @@ -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 diff --git a/src/auth/Makefile.am b/src/auth/Makefile.am index d87b2fc213..9209314843 100644 --- a/src/auth/Makefile.am +++ b/src/auth/Makefile.am @@ -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 diff --git a/src/fs/Makefile.am b/src/fs/Makefile.am index 1643f69a35..c2a8a6a7f0 100644 --- a/src/fs/Makefile.am +++ b/src/fs/Makefile.am @@ -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 diff --git a/src/repl/Makefile.am b/src/repl/Makefile.am index 3d68b10517..0710ce2b98 100644 --- a/src/repl/Makefile.am +++ b/src/repl/Makefile.am @@ -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 diff --git a/tools/Makefile.am b/tools/Makefile.am index cee48571de..ef4f9e745a 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -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 =