]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Renamed db_auth.pl to squid_db_auth, and autogenerate perl path and man page
authorhno <>
Mon, 25 Jun 2007 17:13:15 +0000 (17:13 +0000)
committerhno <>
Mon, 25 Jun 2007 17:13:15 +0000 (17:13 +0000)
changes merged from Squid-2

helpers/basic_auth/DB/Makefile.am
helpers/basic_auth/DB/squid_db_auth.in

index 209426ac7ebd7e785baba0af8cdfa518d5425dd4..af79d0fa5a0925ba3952791973075520b0abd4db 100644 (file)
@@ -1,14 +1,20 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.am,v 1.1 2007/06/02 23:46:00 hno Exp $
+#  $Id: Makefile.am,v 1.2 2007/06/25 11:13:15 hno Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
 
-libexec_SCRIPTS        = \
-       db_auth.pl
+libexec_SCRIPTS        = squid_db_auth
+CLEANFILES = squid_db_auth
+do_subst = sed -e 's,[@]PERL[@],$(PERL),g'
+man_MANS       = squid_db_auth.8
+EXTRA_DIST     = passwd.sql \
+                 squid_db_auth.in
 
-EXTRA_DIST = \
-       db_auth.pl \
-       passwd.sql
+squid_db_auth.8: squid_db_auth
+       pod2man squid_db_auth squid_db_auth.8
+
+squid_db_auth: squid_db_auth.in
+       $(do_subst) < $(srcdir)/squid_db_auth.in  >squid_db_auth
index e481c9b72669bb1c148d8c876ba0c3154b922000..b3c7b33b98a8ca7fd3255dbd874aaa3fb3b4ad7b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!@PERL@
 use strict;
 use DBI;
 use Getopt::Long;