9 clc-source := usr/share/common-lisp/source
10 clc-systems := usr/share/common-lisp/systems
11 clc-files := $(clc-source)/$(pkg)
12 doc-dir := usr/share/doc/$(debpkg)
15 configure: configure-stamp
19 # Add here commands to configure the package.
20 # touch configure-stamp
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 -rf debian/postinst.* debian/prerm.* debian/$(debpkg)
41 # Add here commands to install the package into debian/pkg.
45 dh_install $(pkg).asd $(clc-files)
46 cp -r src debian/$(debpkg)/$(clc-files)
47 cp -r t debian/$(debpkg)/$(clc-files)
48 find debian/$(debpkg)/$(clc-files) -name .arch-ids | xargs rm -r
49 dh_link $(clc-files)/$(pkg).asd $(clc-systems)/$(pkg).asd
51 # Build architecture-independent files here.
52 binary-indep: build install
54 binary-arch: build install
70 binary: binary-indep binary-arch
71 .PHONY: build clean binary-indep binary-arch binary install configure