]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Prevent automake building empty AuthTypes.cc
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 2 May 2010 06:18:21 +0000 (18:18 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 2 May 2010 06:18:21 +0000 (18:18 +1200)
src/auth/Makefile.am

index 470ece27795abbbe393a1c450db586b22b47bda9..2c0e9eaa5e8f4a82e089c6f7d56bc8c9db2303e9 100644 (file)
@@ -71,7 +71,7 @@ libnegotiate_la_SOURCES = \
        negotiate/negotiateUserRequest.h
 
 AuthType.cc: AuthType.h $(top_srcdir)/src/mk-string-arrays.awk
-       $(AWK) -f $(top_srcdir)/src/mk-string-arrays.awk < $(srcdir)/AuthType.h > $@
+       $(AWK) -f $(top_srcdir)/src/mk-string-arrays.awk < $(srcdir)/AuthType.h > $@ || (rm -f $@ ; exit 1)
 
 
 TESTS += testHeaders