6 clc-source := usr/share/common-lisp/source
7 clc-systems := usr/share/common-lisp/systems
8 clc-lml2 := $(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-lml2.postinst.* debian/cl-lml2.prerm.*
38 # Add here commands to install the package into debian/lml2.
39 dh_installdirs $(clc-systems) $(clc-lml2) $(doc-dir)
40 dh_install lml2.asd lml2-tests.asd $(shell echo *.lisp) $(clc-lml2)
41 dh_link $(clc-lml2)/lml2.asd $(clc-systems)/lml2.asd
42 dh_link $(clc-lml2)/lml2-tests.asd $(clc-systems)/lml2-tests.asd
44 binary-arch: build install
46 # Build architecture-independent files here.
47 binary-indep: build install
51 dh_installdocs doc/readme.html
52 dh_installexamples doc/Makefile doc/make.lisp $(shell echo doc/*.lml)
63 dh_installchangelogs ChangeLog
75 binary: binary-indep binary-arch
76 .PHONY: build clean binary-arch binary-indep binary install configure