]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Forward port of latest 2.5 changes:
authorserassio <>
Mon, 9 May 2005 14:31:51 +0000 (14:31 +0000)
committerserassio <>
Mon, 9 May 2005 14:31:51 +0000 (14:31 +0000)
- $< works for GNU make but not for BSD make.
- Fix out-of-tree builds of the make files

doc/Makefile.am

index 641b5a593daf7f1d96ffb09cb006fbbfc7763e25..6cb8718d72cea23b473a1b65289cc5c41443363e 100644 (file)
@@ -1,7 +1,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.am,v 1.4 2005/04/30 15:30:57 serassio Exp $
+#  $Id: Makefile.am,v 1.5 2005/05/09 08:31:51 serassio Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -18,11 +18,11 @@ SUBSTITUTE=sed "\
        s%@DEFAULT_MIME_TABLE@%$(DEFAULT_MIME_TABLE)%g;\
        "
 
-squid.8: squid.8.in Makefile
-       $(SUBSTITUTE) < $< > $@
+squid.8: $(srcdir)/squid.8.in Makefile
+       $(SUBSTITUTE) < $(srcdir)/squid.8.in > $@
 
-cachemgr.cgi.8: cachemgr.cgi.8.in Makefile
-       $(SUBSTITUTE) < $< > $@
+cachemgr.cgi.8: $(srcdir)/cachemgr.cgi.8.in Makefile
+       $(SUBSTITUTE) < $(srcdir)/cachemgr.cgi.8.in > $@
 
 man_MANS = \
        squid.8 \