6 clc-source := usr/share/common-lisp/source
7 clc-systems := usr/share/common-lisp/systems
8 clc-files := $(clc-source)/$(pkg)
9 doc-dir := usr/share/doc/$(debpkg)
10 lib-dir := usr/lib/cl-readline
12 source-files := $(wildcard *.lisp)
14 configure: configure-stamp
17 # Add here commands to configure the package.
23 build-stamp: configure-stamp
25 # Add here commands to compile the package.
32 rm -f build-stamp configure-stamp
33 # Add here commands to clean up after the build process.
34 rm -f debian/$(debpkg).postinst.* debian/$(debpkg).prerm.*
41 # Add here commands to install the package into debian/kmrcl.
42 dh_installdirs $(clc-systems) $(clc-files) $(clc-tests)
43 dh_install $(pkg).asd $(source-files) $(clc-files)
44 dh_link $(clc-files)/$(pkg).asd $(clc-systems)/$(pkg).asd
45 dh_install *.so $(lib-dir)
47 # Build architecture-independent files here.
48 binary-indep: build install
51 # Build architecture-dependent files here.
52 binary-arch: build install
79 binary: binary-indep binary-arch
80 .PHONY: build clean binary-indep binary-arch binary install configure