7 debpkg-bin := cl-reversi-clim
10 clc-source := usr/share/common-lisp/source
11 clc-systems := usr/share/common-lisp/systems
12 clc-reversi := $(clc-source)/$(pkg)
14 doc-dir := usr/share/doc/$(debpkg)
17 configure: configure-stamp
20 # Add here commands to configure the package.
27 build-stamp: configure-stamp
29 # Add here commands to compile the package.
35 rm -f build-stamp configure-stamp
36 # Add here commands to clean up after the build process.
37 rm -f debian/cl-reversi.postinst.* debian/cl-reversi.prerm.*
44 # Add here commands to install the package into debian/reversi.
45 dh_installdirs -p $(debpkg) $(clc-systems) $(clc-reversi)
46 dh_install -p $(debpkg) reversi.asd $(shell echo *.lisp *.dat) $(clc-reversi)
47 dh_link -p $(debpkg) $(clc-reversi)/reversi.asd $(clc-systems)/reversi.asd
48 dh_installdirs -p $(debpkg-clim) usr/bin
49 dh_install -p $(debpkg-clim) debian/cl-reversi usr/bin
51 # Build architecture-independent files here.
52 binary-indep: build install
55 # Build architecture-dependent files here.
56 binary-arch: build install
61 dh_installman debian/cl-reversi.1
71 binary: binary-indep binary-arch
72 .PHONY: build clean binary-indep binary-arch binary install configure