6 DESTDIR := debian/$(debpkg)
7 clc-source := usr/share/common-lisp/source
8 clc-systems := usr/share/common-lisp/systems
9 clc-wol:= $(clc-source)/$(pkg)
11 doc-dir := usr/share/doc/$(debpkg)
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.
31 rm -f build-stamp configure-stamp
32 # Add here commands to clean up after the build process.
33 rm -f debian/cl-wol.postinst.* debian/cl-wol.prerm.*
41 # Add here commands to install the package into debian/wol.
42 dh_installdirs $(clc-systems) $(clc-wol) $(doc-dir)
43 dh_install *.asd $(shell echo *.lisp) $(clc-wol)
44 dh_link $(clc-wol)/wol.asd $(clc-systems)/wol.asd
45 chmod 0644 $(DESTDIR)/$(clc-wol)/*
47 # Build architecture-independent files here.
48 binary-indep: build install
51 # Build architecture-dependent files here.
52 binary-arch: build install
56 dh_installdocs doc/index.html
67 dh_installchangelogs CHANGELOG
79 binary: binary-indep binary-arch
80 .PHONY: build clean binary-indep binary-arch binary install configure