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.
26 build-stamp: configure-stamp
29 # Add here commands to compile the package.
36 rm -f build-stamp configure-stamp
38 # Add here commands to clean up after the build process.
40 rm -f debian/cl-lml.postinst.* debian/cl-lml.prerm.*
48 dh_installdirs --all $(clc-systems) $(clc-source)
49 dh_installdirs -p $(debpkg) $(doc-dir) $(clc-lml)/mcl
51 # Add here commands to install the package into debian/lml.
52 dh_install lml.system lml.asd $(clc-systems)
53 dh_install $(shell echo *.cl) $(clc-lml)
56 (cd doc; tar xzf html.tar.gz; cd ..)
57 dh_install doc/html $(doc-dir)
59 cp doc/lml.pdf doc/cl-lml.pdf
60 gzip -9 doc/cl-lml.pdf
61 dh_install doc/cl-lml.pdf.gz $(doc-dir)
63 # Build architecture-independent files here.
64 binary-indep: build install
67 # Build architecture-dependent files here.
68 binary-arch: build install
73 dh_installexamples examples/*.cl
84 dh_installchangelogs ChangeLog
96 binary: binary-indep binary-arch
97 .PHONY: build clean binary-indep binary-arch binary install configure