Convert to dh-lisp; add Vcs-Browser
[rlc.git] / debian / rules
1 #!/usr/bin/make -f
2
3 pkg             := rlc
4 debpkg          := cl-rlc
5
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
11
12 build:
13
14 clean:
15         dh_testdir
16         dh_testroot
17         dh_clean
18
19 install: build
20         dh_testdir
21         dh_testroot
22         dh_prep
23         dh_installdirs
24         dh_install $(pkg).asd $(clc-files)
25         dh_install *.lisp $(clc-files)
26
27 binary-indep: install
28         dh_testdir
29         dh_testroot
30         dh_installdocs README 
31         dh_installexamples
32         dh_installchangelogs
33         dh_lisp
34         dh_compress
35         dh_fixperms
36         dh_installdeb
37         dh_gencontrol
38         dh_md5sums
39         dh_builddeb
40
41 binary-arch:
42
43 binary: binary-indep
44
45
46 .PHONY: build clean binary-indep binary-arch binary install