--- /dev/null
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+#export DH_COMPAT=4
+
+include /usr/share/quilt/quilt.make
+
+
+PERL=/usr/bin/perl
+PACKAGE=$(shell dh_listpackages)
+
+PKGROOT=$(CURDIR)/debian/$(PACKAGE)/usr
+ETCROOT=$(PKGROOT)/share/$(PACKAGE)
+
+build: build-stamp
+build-stamp: $(QUILT_STAMPFN)
+ dh_testdir
+ # Add here commands to compile the package.
+ $(PERL) Makefile.PL verbose INSTALLDIRS=vendor --local --mech-dump
+ $(MAKE)
+ NOINTERNET=1 $(MAKE) test
+ touch $@
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ dh_clean build-stamp install-stamp
+ [ ! -f Makefile ] || $(MAKE) realclean
+ dh_clean
+
+install: install-stamp
+install-stamp: build-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ $(MAKE) install PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr
+ install -d $(ETCROOT)
+ install -m 644 $(CURDIR)/etc/* $(ETCROOT)
+ [ ! -d $(CURDIR)/debian/$(PACKAGE)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(PACKAGE)/usr/lib/perl5
+ touch $@
+
+binary-arch:
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installchangelogs Changes
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_perl
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure