]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Helpers: Update the basic auth DB helper to new scheme
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 29 Sep 2009 12:04:10 +0000 (01:04 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 29 Sep 2009 12:04:10 +0000 (01:04 +1300)
 - convert to basic_db_auth
 - add config.test to build when possible (depends on perl)
 - adjust dist generation so snapshot can publish the .8 page

helpers/basic_auth/DB/Makefile.am
helpers/basic_auth/DB/basic_db_auth.in [moved from helpers/basic_auth/DB/squid_db_auth.in with 100% similarity]

index 0ac34f27d7265843d23aedf6f1231f273687e896..5970ecd57d8aa813f86139d8c0b3e0345d35fdad 100644 (file)
@@ -1,20 +1,18 @@
-#
-#  Makefile for the Squid Object Cache server
-#
-#  $Id$
-#
-#  Uncomment and customize the following to suit your needs:
-#
+include $(top_srcdir)/src/Common.am
 
-libexec_SCRIPTS        = squid_db_auth
-CLEANFILES = squid_db_auth squid_db_auth.8
+libexec_SCRIPTS        = basic_db_auth
+CLEANFILES += basic_db_auth basic_db_auth.8
 do_subst = sed -e 's,[@]PERL[@],$(PERL),g'
-man_MANS       = squid_db_auth.8
-EXTRA_DIST     = passwd.sql \
-                 squid_db_auth.in
+man_MANS = basic_db_auth.8
+EXTRA_DIST= \
+       passwd.sql \
+       basic_db_auth.in
 
-squid_db_auth.8: squid_db_auth
-       pod2man squid_db_auth squid_db_auth.8
+## So that the man(8) file is ready for snapshot manuals bundling.
+dist-hook: basic_db_auth.8
 
-squid_db_auth: squid_db_auth.in
-       $(do_subst) < $(srcdir)/squid_db_auth.in  >squid_db_auth
+basic_db_auth.8: basic_db_auth
+       pod2man basic_db_auth basic_db_auth.8
+
+basic_db_auth: basic_db_auth.in
+       $(do_subst) < $(srcdir)/basic_db_auth.in  >basic_db_auth