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 compatibility version to use.
11 PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
16 # Add here commands to compile the package.
17 perl Makefile.PL verbose INSTALLDIRS=vendor
32 $(MAKE) PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr OPTIMIZE="-O2 -g -Wall" test install
33 -find $(CURDIR)/debian -type d | xargs rmdir -p --ignore-fail-on-non-empty
36 binary-indep: build install
41 dh_installchangelogs ChangeLog
52 binary: binary-indep binary-arch
53 .PHONY: build clean binary-indep binary-arch binary install configure