6 debpkg := cl-hyperobject
9 clc-source := usr/share/common-lisp/source
10 clc-systems := usr/share/common-lisp/systems
11 clc-hyperobject := $(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-hyperobject.postinst.* debian/cl-hyperobject.prerm.*
43 # Add here commands to install the package into debian/hyperobject.
44 dh_installdirs $(clc-systems) $(clc-hyperobject) $(doc-dir)
45 dh_install hyperobject.asd $(wildcard *.lisp) $(clc-hyperobject)
46 dh_link $(clc-hyperobject)/hyperobject.asd $(clc-systems)/hyperobject.asd
48 # Build architecture-independent files here.
49 binary-indep: build install
54 dh_installexamples -i $(wilcard examples/example*.lisp)
65 dh_installchangelogs -i
77 # Build architecture-dependent files here.
78 binary-arch: build install
80 binary: binary-indep binary-arch
81 .PHONY: build clean binary-indep binary-arch binary install configure