7 clc-source := usr/share/common-lisp/source
8 clc-systems := usr/share/common-lisp/systems
9 clc-lml2 := $(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-lml2.postinst.* debian/cl-lml2.prerm.*
40 # Add here commands to install the package into debian/lml2.
41 dh_installdirs $(clc-systems) $(clc-lml2) $(doc-dir)
42 dh_install lml2.asd $(shell echo *.lisp) $(clc-lml2)
43 dh_link $(clc-lml2)/lml2.asd $(clc-systems)/lml2.asd
45 # Build architecture-independent files here.
46 binary-indep: build install
49 # Build architecture-dependent files here.
50 binary-arch: build install
54 dh_installdocs doc/readme.html
55 dh_installexamples doc/Makefile doc/make.lisp $(shell echo doc/*.lml)
66 dh_installchangelogs ChangeLog
78 binary: binary-indep binary-arch
79 .PHONY: build clean binary-indep binary-arch binary install configure