6 pkg-tests := $(pkg)-tests
10 clc-source := usr/share/common-lisp/source
11 clc-systems := usr/share/common-lisp/systems
12 clc-files := $(clc-source)/$(pkg)
13 clc-tests := $(clc-source)/$(pkg-tests)
14 doc-dir := usr/share/doc/$(debpkg)
16 tests-files := tests.lisp
17 source-files := $(filter-out $(tests-files),$(wildcard *.lisp))
19 configure: configure-stamp
22 # Add here commands to configure the package.
29 build-stamp: configure-stamp
31 # Add here commands to compile the package.
37 rm -f build-stamp configure-stamp
38 # Add here commands to clean up after the build process.
39 rm -f debian/cl-hyperobject.postinst.* debian/cl-hyperobject.prerm.*
46 # Add here commands to install the package into debian/hyperobject.
47 dh_installdirs $(clc-systems) $(clc-files) $(doc-dir) $(clc-tests)
48 dh_install $(pkg).asd $(source-files) $(clc-files)
49 dh_link $(clc-files)/$(pkg).asd $(clc-systems)/$(pkg).asd
50 dh_install $(pkg-tests).asd $(tests-files) $(clc-tests)
51 dh_link $(clc-tests)/$(pkg-tests).asd $(clc-systems)/$(pkg-tests).asd
53 # Build architecture-independent files here.
54 binary-indep: build install
59 dh_installexamples -i $(wilcard examples/*.lisp)
70 dh_installchangelogs -i
82 # Build architecture-dependent files here.
83 binary-arch: build install
85 binary: binary-indep binary-arch
86 .PHONY: build clean binary-indep binary-arch binary install configure