Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/make -f
- # -*- makefile -*-
- include /usr/share/dpatch/dpatch.make
- configure: configure-stamp
- configure-stamp: patch
- dh_testdir
- touch configure-stamp
- build: patch-stamp build-stamp
- build-stamp: configure-stamp
- dh_testdir
- perl Makefile.PL
- $(MAKE)
- touch build-stamp
- clean: unpatch
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
- if [ -f Makefile ]; then $(MAKE) clean; fi
- rm -f Makefile.old
- dh_clean
- install: build
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs
- #$(MAKE) install DESTDIR=$(CURDIR)/debian/note
- $(MAKE) install PREFIX=$(CURDIR)/debian/note/usr \
- SITEPREFIX=$(CURDIR)/debian/note/usr \
- INSTALLSITEMAN3DIR=$(CURDIR)/debian/note/usr/share/man/man3 \
- INSTALLSITELIB=$(CURDIR)/debian/note/usr/share/perl5
- rm -rfv $(CURDIR)/debian/note/usr/lib
- # Build architecture-independent files here.
- binary-indep: build install
- # We have nothing to do by default.
- dh_testdir
- dh_testroot
- dh_installchangelogs Changelog
- dh_installdocs
- dh_installexamples
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_perl
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
- binary-arch: build install
- binary: binary-indep binary-arch
- .PHONY: build clean binary-indep binary-arch binary install configure unpatch patch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement