6 clc-source := usr/share/common-lisp/source
7 clc-systems := usr/share/common-lisp/systems
8 clc-files := $(clc-source)/$(pkg)
9 clc-tests := $(clc-source)/$(pkg-tests)
10 doc-dir := usr/share/doc/$(debpkg)
12 source-files := $(wildcard *.lisp)
14 configure: configure-stamp
22 build-stamp: configure-stamp
29 rm -f build-stamp configure-stamp
30 # Clean up after the build process.
31 rm -f debian/$(debpkg).postinst.* debian/$(debpkg).prerm.*
38 # Install the package into debian/getopt.
39 dh_installdirs $(clc-systems) $(clc-files) $(clc-tests)
40 dh_install $(pkg).asd $(source-files) $(clc-files)
41 dh_link $(clc-files)/$(pkg).asd $(clc-systems)/$(pkg).asd
43 # Build architecture-independent files
44 binary-indep: build install
58 # Build architecture-dependent files
59 binary-arch: build install
61 binary: binary-indep binary-arch
62 .PHONY: build clean binary-indep binary-arch binary install configure