6 debpkg := cl-postoffice
9 clc-source := usr/share/common-lisp/source
10 clc-systems := usr/share/common-lisp/systems
11 clc-postoffice := $(clc-source)/$(pkg)
12 doc-dir := usr/share/doc/$(debpkg)
15 configure: configure-stamp
18 # Add here commands to configure the package.
24 build-stamp: configure-stamp
26 # Add here commands to compile the package.
32 rm -f build-stamp configure-stamp
33 # Add here commands to clean up after the build process.
34 rm -f debian/cl-postoffice.postinst.* debian/cl-postoffice.prerm.*
41 # Add here commands to install the package into debian/postoffice.
42 dh_installdirs $(clc-systems) $(clc-postoffice) $(doc-dir)
43 dh_install debian/postoffice.asd $(shell echo *.lisp) $(clc-postoffice)
44 dh_install postoffice.html $(doc-dir)
45 dh_link $(clc-postoffice)/postoffice.asd $(clc-systems)/postoffice.asd
46 mv ChangeLog changelog
48 # Build architecture-independent files here.
49 binary-indep: build install
52 # Build architecture-dependent files here.
53 binary-arch: build install
68 dh_installchangelogs changelog
80 binary: binary-indep binary-arch
81 .PHONY: build clean binary-indep binary-arch binary install configure