2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
5 # Uncomment this to turn on verbose mode.
8 # This is the debhelper compatability version to use.
11 configure: configure-stamp
14 # Add here commands to configure the package.
19 build: configure-stamp build-stamp
23 # Add here commands to compile the package.
24 #/usr/bin/docbook-to-man debian/pflogsumm.sgml > pflogsumm.1
31 rm -f build-stamp configure-stamp
33 # Add here commands to clean up after the build process.
43 # Add here commands to install the package into debian/pflogsumm.
44 #$(MAKE) install DESTDIR=$(CURDIR)/debian/pflogsumm
45 cp pflogsumm.pl $(CURDIR)/debian/pflogsumm/usr/sbin/pflogsumm
46 cd $(CURDIR)/debian/pflogsumm/usr/sbin && ln -s pflogsumm pflogsumm.pl
47 cp pflogsumm.1 $(CURDIR)/debian/pflogsumm/usr/share/man/man1
50 # Build architecture-independent files here.
51 binary-indep: build install
52 # We have nothing to do by default.
54 # Build architecture-dependent files here.
55 binary-arch: build install
60 dh_installdocs rem_smtpd_stats_supp.pl pflogsumm-faq.txt README ToDo
61 dh_installexamples debian/example.cron.daily debian/example.cron.weekly
70 dh_installchangelogs ChangeLog
74 cd $(CURDIR)/debian/pflogsumm/usr/share/man/man1/ && ln -s pflogsumm.1.gz pflogsumm.pl.1.gz
77 # You may want to make some executables suid here.
87 binary: binary-indep binary-arch
88 .PHONY: build clean binary-indep binary-arch binary install configure