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