1 #!/usr/bin/make -f 2 # Sample debian/rules that uses debhelper. 3 # GNU copyright 1997 to 1999 by Joey Hess. 4 5 # Uncomment this to turn on verbose mode. 6 #export DH_VERBOSE=1 7 8 build: build-stamp 9 build-stamp: 10 dh_testdir 11 12 13 # Add here commands to compile the package. 14 ./configure --prefix=`pwd`/debian/postal/usr --without-openssl 15 $(MAKE) 16 17 touch build-stamp 18 19 clean: 20 dh_testdir 21 dh_testroot 22 rm -f build-stamp 23 24 # Add here commands to clean up after the build process. 25 -$(MAKE) clean 26 27 dh_clean 28 29 install: build 30 dh_testdir 31 dh_testroot 32 dh_clean -k 33 dh_installdirs 34 35 # Add here commands to install the package into debian/postal 36 $(MAKE) install-bin 37 38 39 # Build architecture-independent files here. 40 binary-indep: build install 41 # We have nothing to do by default. 42 43 # Build architecture-dependent files here. 44 binary-arch: build install 45 # dh_testversion 46 dh_testdir 47 dh_testroot 48 # dh_installdebconf 49 dh_installdocs 50 dh_installexamples 51 dh_installmenu 52 # dh_installemacsen 53 # dh_installpam 54 # dh_installinit 55 dh_installcron 56 dh_installman *.8 *.1 57 # dh_undocumented 58 dh_installchangelogs 59 dh_strip 60 dh_compress 61 dh_fixperms 62 # dh_makeshlibs 63 dh_installdeb 64 # dh_perl 65 dh_shlibdeps 66 dh_gencontrol 67 dh_md5sums 68 dh_builddeb 69 70 binary: binary-indep binary-arch 71 .PHONY: build clean binary-indep binary-arch binary install