4 pkg-tests := $(pkg)-tests
7 clc-source := usr/share/common-lisp/source
8 clc-systems := usr/share/common-lisp/systems
9 clc-files := $(clc-source)/$(pkg)
10 clc-tests := $(clc-source)/$(pkg-tests)
11 doc-dir := usr/share/doc/$(debpkg)
13 tests-files := tests.lisp
14 source-files := $(filter-out $(tests-files),$(wildcard *.lisp))
16 configure: configure-stamp
23 build-stamp: configure-stamp
30 rm -f build-stamp configure-stamp
31 rm -f debian/$(debpkg).postinst.* debian/$(debpkg).prerm.*
38 dh_installdirs $(clc-systems) $(clc-files) $(clc-tests)
39 dh_install $(pkg).asd $(source-files) $(clc-files)
40 dh_link $(clc-files)/$(pkg).asd $(clc-systems)/$(pkg).asd
41 dh_install $(pkg-tests).asd $(tests-files) $(clc-tests)
42 dh_link $(clc-tests)/$(pkg-tests).asd $(clc-systems)/$(pkg-tests).asd
44 binary-indep: build install
48 dh_installchangelogs -i ChangeLog
57 binary-arch: build install
59 binary: binary-indep binary-arch
60 .PHONY: build clean binary-indep binary-arch binary install configure