1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
#!/usr/bin/make -f
prefix=$(PWD)/debian/tmp/usr
build:
touch build
perl Makefile.PL INSTALLDIRS=perl
make LD_RUN_PATH=
clean: checkroot
-rm -f build
dh_clean
-$(MAKE) distclean
binary-indep: checkroot build
# There are no architecture-independent files to be uploaded
# generated by this package. If there were any they would be
# made here.
binary-arch: checkroot build
-rm -rf debian/tmp
dh_installdirs
make pure_install PREFIX=$(prefix) \
INSTALLMAN1DIR=$(prefix)/share/man/man1 \
INSTALLMAN3DIR=$(prefix)/share/man/man3
dh_installdocs README
dh_installchangelogs Changes
dh_installexamples examples
dh_link
dh_strip
dh_compress
dh_fixperms
dh_shlibdeps
dh_perl
dh_gencontrol
dh_makeshlibs
dh_installdeb
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
checkroot:
dh_testdir
dh_testroot
.PHONY: binary binary-arch binary-indep clean checkroot
|