]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/TestHeaders.am
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / TestHeaders.am
index bf65d3ccee6704c18cf7587e3ec73f891ad9b1c5..a14eddf16f00d6972d134025f37e042c3067e783 100644 (file)
@@ -1,3 +1,10 @@
+## Copyright (C) 1996-2021 The Squid Software Foundation and contributors
+##
+## Squid software is distributed under GPLv2+ license and includes
+## contributions from numerous individuals and organizations.
+## Please see the COPYING and CONTRIBUTORS files for details.
+##
+
 ## Test ./*.h files in a directory using test-suite/testheaders.sh
 
 ## TODO: include in src/Common.am when all testHeaders users are the same.
@@ -7,7 +14,7 @@ TESTS += testHeaders
 ## .h dependency test script
 ## aborts build process on errors; XXX: even with "make -k"
 testHeaders: $(srcdir)/*.h
-       $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(srcdir)" || exit 1
+       $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
 
 ## XXX: this is only needed because testheaders.sh creates a dummy file called
 ## testHeaders and distclean does not know about it.