pkg := lml2
debpkg := cl-lml2
-
clc-source := usr/share/common-lisp/source
clc-systems := usr/share/common-lisp/systems
clc-lml2 := $(clc-source)/$(pkg)
doc-dir := usr/share/doc/$(debpkg)
-
configure: configure-stamp
configure-stamp:
dh_testdir
dh_clean -k
# Add here commands to install the package into debian/lml2.
dh_installdirs $(clc-systems) $(clc-lml2) $(doc-dir)
- dh_install lml2.asd $(shell echo *.lisp) $(clc-lml2)
- dh_install $(shell echo doc/*.html) $(doc-dir)
+ dh_install lml2.asd lml2-tests.asd $(shell echo *.lisp) $(clc-lml2)
dh_link $(clc-lml2)/lml2.asd $(clc-systems)/lml2.asd
+ dh_link $(clc-lml2)/lml2-tests.asd $(clc-systems)/lml2-tests.asd
+
+binary-arch: build install
# Build architecture-independent files here.
binary-indep: build install
-
-
-# Build architecture-dependent files here.
-binary-arch: build install
dh_testdir
dh_testroot
# dh_installdebconf
- dh_installdocs
+ dh_installdocs doc/readme.html
dh_installexamples doc/Makefile doc/make.lisp $(shell echo doc/*.lml)
# dh_installmenu
# dh_installlogrotate
# dh_installman
# dh_installinfo
# dh_undocumented
- dh_installchangelogs
+ dh_installchangelogs ChangeLog
dh_strip
dh_compress
dh_fixperms
dh_builddeb
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-arch binary-indep binary install configure