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.*
42 # Add here commands to install the package into debian/kmrcl.
43 dh_installdirs $(clc-systems) $(clc-files) $(clc-tests)
44 dh_install $(pkg).asd $(source-files) $(clc-files)
45 dh_link $(clc-files)/$(pkg).asd $(clc-systems)/$(pkg).asd
46 dh_install *.so $(lib-dir)
48 # Build architecture-independent files here.
49 binary-indep: build install
52 # Build architecture-dependent files here.
53 binary-arch: build install
80 binary: binary-indep binary-arch
81 .PHONY: build clean binary-indep binary-arch binary install configure