2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
5 # Uncomment this to turn on verbose mode.
10 configure: configure-stamp
13 # Add here commands to configure the package.
14 $(PERL) Makefile.PL INSTALLDIRS=vendor
18 build: configure-stamp build-stamp
22 # Add here commands to compile the package.
26 # Make sure it all seems to be working okay.
34 rm -f build-stamp configure-stamp
35 rm -rf testdir extracted
37 # Add here commands to clean up after the build process.
49 # Add here commands to install the package into debian/tmp
50 $(MAKE) install INSTALLDIRS=vendor PREFIX=$(CURDIR)/debian/libarchive-zip-perl/usr
51 rm -rf $(CURDIR)/debian/libarchive-zip-perl/usr/lib
53 # Build architecture-independent files here.
54 binary-indep: build install
55 # We have nothing to do by default.
57 # Build architecture-dependent files here.
58 binary-arch: build install
76 dh_installchangelogs Changes
89 binary: binary-indep binary-arch
90 .PHONY: build clean binary-indep binary-arch binary install configure