6 clc-source := usr/share/common-lisp/source
7 clc-systems := usr/share/common-lisp/systems
8 clc-photo := $(clc-source)/$(pkg)
10 doc-dir := usr/share/doc/$(debpkg)
12 configure: configure-stamp
15 # Add here commands to configure the package.
21 build-stamp: configure-stamp
23 # Add here commands to compile the package.
29 rm -f build-stamp configure-stamp
30 # Add here commands to clean up after the build process.
31 rm -f debian/cl-photo.postinst.* debian/cl-photo.prerm.*
38 # Add here commands to install the package into debian/photo.
39 dh_installdirs $(clc-systems) $(clc-photo) $(doc-dir)
40 dh_install cl-photo.asd $(shell echo *.lisp) $(clc-photo)
41 dh_link $(clc-photo)/cl-photo.asd $(clc-systems)/cl-photo.asd
43 # Build architecture-independent files here.
44 binary-indep: build install
47 # Build architecture-dependent files here.
48 binary-arch: build install
52 dh_installdocs doc/readme.html
75 binary: binary-indep binary-arch
76 .PHONY: build clean binary-indep binary-arch binary install configure