#!/usr/bin/make -f # Made with the aid of debmake, by Christoph Lameter, # based on the sample debian/rules file for GNU hello by Ian Jackson. ifndef PERL PERL=/usr/bin/perl endif export DH_VERBOSE=1 package=ivy-perl configure: configure-stamp configure-stamp: dh_testdir # Add here commands to configure the package. touch configure-stamp build: build-stamp build-stamp: configure-stamp dh_testdir $(PERL) Makefile.PL INSTALLDIRS=perl "FULLPERL=PERL_DL_NONLAZY=0 perl" $(MAKE) $(MAKE) test touch build touch build-stamp clean: dh_testdir dh_testroot dh_clean -rm -f pod2html-*cache -rm -f build build-stamp configure-stamp -$(MAKE) clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs $(MAKE) DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr pure_install binary-indep: build install binary-arch: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples dh_install --source=$(CURDIR)/debian/tmp # dh_installmenu # dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_installinit # dh_installcron # dh_installinfo dh_installman dh_link dh_strip dh_compress dh_fixperms dh_perl # dh_python # dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch checkroot: $(checkdir) test root = "`whoami`" .PHONY: binary binary-arch binary-indep clean checkroot