Port to using debhelper 7, dh-lisp
[rt.git] / debian / rules
1 #!/usr/bin/make -f
2
3 pkg             := rt
4 debpkg          := cl-rt
5
6 clc-source      := usr/share/common-lisp/source
7 clc-files       := $(clc-source)/$(pkg)
8
9
10 build:
11
12 clean:
13         dh_testdir
14         dh_testroot
15         dh_clean
16
17 install: build
18         dh_testdir
19         dh_testroot
20         dh_prep
21         dh_installdirs
22         dh_install $(pkg).asd $(pkg).lisp $(clc-files)
23
24 binary-arch:
25
26 binary-indep: install
27         dh_testdir
28         dh_testroot
29         dh_installdocs rt-doc.txt
30         dh_installexamples rt-test.lisp
31         dh_installchangelogs
32         dh_lisp
33         dh_compress
34         dh_fixperms
35         dh_installdeb
36         dh_gencontrol
37         dh_md5sums
38         dh_builddeb
39
40 binary: binary-indep
41
42
43 .PHONY: build clean binary-indep binary-arch binary install