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 # Build architecture-independent files here.
45 binary-indep: build install
48 # Build architecture-dependent files here.
49 binary-arch: build install
53 dh_installdocs doc/readme.html
54 dh_installexamples doc/Makefile doc/make.lisp $(shell echo doc/*.lml)
65 dh_installchangelogs ChangeLog
77 binary: binary-indep binary-arch
78 .PHONY: build clean binary-indep binary-arch binary install configure