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