9 clc-source := usr/share/common-lisp/source
10 clc-systems := usr/share/common-lisp/systems
11 clc-xmlutils := $(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
28 # Add here commands to compile the package.
34 rm -f build-stamp configure-stamp
35 # Add here commands to clean up after the build process.
36 rm -f debian/cl-xmlutils.postinst.* debian/cl-xmlutils.prerm.*
43 # Add here commands to install the package into debian/xmlutils.
44 dh_installdirs $(clc-systems) $(clc-xmlutils) $(doc-dir)
45 dh_install debian/xmlutils.asd phtml.cl $(wildcard pxml[0-3].cl) build.cl $(clc-xmlutils)
46 dh_install $(shell echo *.html) $(doc-dir)
47 dh_link $(clc-xmlutils)/xmlutils.asd $(clc-systems)/xmlutils.asd
49 # Build architecture-independent files here.
50 binary-indep: build install
53 # Build architecture-dependent files here.
54 binary-arch: build install
59 dh_installexamples pxml-test.cl phtml-test.cl
82 binary: binary-indep binary-arch
83 .PHONY: build clean binary-indep binary-arch binary install configure