Rev 23 | Rev 40 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#!/usr/bin/make -f#-*- makefile -*-# Made with the aid of dh_make, by Craig Small# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.# Some lines taken from debmake, by Christoph Lameter.# Uncomment this to turn on verbose mode.#export DH_VERBOSE=1PACKAGE := $(shell dh_listpackages)PERL = /usr/bin/perlTMP := $(CURDIR)/debian/$(PACKAGE)build: build-stampbuild-stamp:dh_testdir$(PERL) Makefile.PL INSTALLDIRS=vendor$(MAKE)-$(MAKE) testtouch build-stampclean:dh_testdirdh_testrootrm -f build-stamp[ ! -f Makefile ] || $(MAKE) realcleandh_cleaninstall:dh_testdirdh_testrootdh_clean -kdh_installdirs$(MAKE) install DESTDIR=$(TMP)/# Remove any empty directoriesfind $(TMP)/usr -depth -type d -empty -exec rmdir '{}' ';'# Build architecture-dependent files here.binary-arch:# We have nothing to do by default.# Build architecture-independent files here.binary-indep: build installdh_testdirdh_testrootdh_installdocsdh_installmandh_installchangelogs -k ChangeLogdh_linkdh_compressdh_fixpermsdh_installdebdh_perldh_gencontroldh_md5sumsdh_builddebbinary: binary-indep.PHONY: build clean binary-indep binary-arch binary