2 # Made with the aid of dh_make, by Craig Small
3 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
4 # Some lines taken from debmake, by Cristoph Lameter.
6 # Uncomment this to turn on verbose mode.
9 DEST_DIR := $(CURDIR)/debian/tmp
16 $(PERL) Makefile.PL INSTALLDIRS=vendor
17 $(MAKE) -f Makefile.perl
25 -$(MAKE) -f Makefile.perl clean;
26 #something to remove all trace and *.trace files?
29 install: install-stamp
34 $(MAKE) install_mostfiles DESTDIR=$(DEST_DIR)
35 $(MAKE) -f Makefile.perl install PREFIX=$(DEST_DIR)/usr
39 # nothing to do, as there aren't any architecture-dependent packages
46 $(MAKE) install_mostfiles DESTDIR=$(DEST_DIR)
47 $(MAKE) -f Makefile.perl install PREFIX=$(DEST_DIR)/usr
48 dh_install --sourcedir=debian/tmp --list-missing
53 #chown bugs.bugs $(var_dir)/spool/incoming
56 dh_compress -X examples/text
63 binary: binary-indep binary-arch
64 .PHONY: build clean install binary-indep binary-arch binary