From: hno <> Date: Mon, 25 Jun 2007 17:13:15 +0000 (+0000) Subject: Renamed db_auth.pl to squid_db_auth, and autogenerate perl path and man page X-Git-Tag: SQUID_3_0_PRE7~194 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2195a6cdca949be73bc6907308786f9b3baf856e;p=thirdparty%2Fsquid.git Renamed db_auth.pl to squid_db_auth, and autogenerate perl path and man page changes merged from Squid-2 --- diff --git a/helpers/basic_auth/DB/Makefile.am b/helpers/basic_auth/DB/Makefile.am index 209426ac7e..af79d0fa5a 100644 --- a/helpers/basic_auth/DB/Makefile.am +++ b/helpers/basic_auth/DB/Makefile.am @@ -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 diff --git a/helpers/basic_auth/DB/squid_db_auth.in b/helpers/basic_auth/DB/squid_db_auth.in index e481c9b726..b3c7b33b98 100755 --- a/helpers/basic_auth/DB/squid_db_auth.in +++ b/helpers/basic_auth/DB/squid_db_auth.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!@PERL@ use strict; use DBI; use Getopt::Long;