Fix lintian warnings
[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: build-arch build-indep
17
18 build-arch:
19
20 build-indep:
21
22 clean:
23         dh_testdir
24         dh_testroot
25         dh_clean
26
27 install: build
28         dh_testdir
29         dh_testroot
30         dh_prep
31         dh_installdirs
32         dh_install $(pkg).asd $(source-files) $(clc-files)
33         dh_install $(pkg-tests).asd $(tests-files) $(clc-tests)
34
35 binary-indep: install
36         dh_testdir
37         dh_testroot 
38         dh_installdocs 
39         dh_installexamples examples/*.lisp
40         dh_installchangelogs 
41         dh_lisp
42         dh_compress 
43         dh_fixperms 
44         dh_installdeb 
45         dh_gencontrol 
46         dh_md5sums 
47         dh_builddeb 
48
49 binary-arch:
50
51 binary: binary-indep
52
53
54 .PHONY: build clean binary-indep binary-arch binary install