7 clc-source := usr/share/common-lisp/source
8 clc-systems := usr/share/common-lisp/systems
9 clc-lml := $(clc-source)/$(pkg)
11 doc-dir := usr/share/doc/$(debpkg)
14 configure: configure-stamp
17 # Add here commands to configure the package.
23 build-stamp: configure-stamp
25 # Add here commands to compile the package.
31 rm -f build-stamp configure-stamp
32 # Add here commands to clean up after the build process.
33 rm -f debian/cl-lml.postinst.* debian/cl-lml.prerm.*
40 # Add here commands to install the package into debian/lml.
41 dh_installdirs $(clc-systems) $(clc-lml) $(doc-dir)
42 dh_install lml.asd $(shell echo *.lisp) $(clc-lml)
43 dh_install $(shell echo doc/*.html) $(doc-dir)
44 dh_link $(clc-lml)/lml.asd $(clc-systems)/lml.asd
46 # Build architecture-independent files here.
47 binary-indep: build install
50 # Build architecture-dependent files here.
51 binary-arch: build install
56 dh_installexamples doc/Makefile doc/make.lisp $(shell echo doc/*.lml)
79 binary: binary-indep binary-arch
80 .PHONY: build clean binary-indep binary-arch binary install configure