#
# 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