9 clc-source := usr/share/common-lisp/source
10 clc-systems := usr/share/common-lisp/systems
11 clc-lml := $(clc-source)/$(pkg)
13 doc-dir := usr/share/doc/$(debpkg)
16 configure: configure-stamp
19 # Add here commands to configure the package.
25 build-stamp: configure-stamp
27 # Add here commands to compile the package.
33 rm -f build-stamp configure-stamp
34 # Add here commands to clean up after the build process.
35 rm -f debian/cl-lml.postinst.* debian/cl-lml.prerm.*
42 # Add here commands to install the package into debian/lml.
43 dh_installdirs $(clc-systems) $(clc-lml) $(doc-dir)
44 dh_install lml.asd $(shell echo *.lisp) $(clc-lml)
45 dh_install $(shell echo doc/*.html) $(doc-dir)
46 dh_link $(clc-lml)/lml.asd $(clc-systems)/lml.asd
48 # Build architecture-independent files here.
49 binary-indep: build install
52 # Build architecture-dependent files here.
53 binary-arch: build install
58 dh_installexamples doc/Makefile doc/make.lisp $(shell echo doc/*.lml)
81 binary: binary-indep binary-arch
82 .PHONY: build clean binary-indep binary-arch binary install configure