Fix location of source files in debian
[memstore.git] / debian / rules
1 #!/usr/bin/make -f
2
3 pkg             := memstore
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
10
11 build: build-arch build-indep
12
13 build-arch:
14
15 build-indep:
16
17 clean:
18         dh_testdir
19         dh_testroot
20         dh_clean
21
22 install: build
23         dh_testdir
24         dh_testroot
25         dh_prep
26         dh_installdirs
27         dh_install $(pkg).asd $(pkg)-tests.asd memcache.asd $(clc-systems)
28         dh_install src/*.lisp $(clc-source)/$(pkg)/src
29         dh_install memcache/*.lisp $(clc-source)/$(pkg)/memcache
30
31 binary-indep: install
32         dh_testdir
33         dh_testroot
34         dh_installdocs
35         dh_installchangelogs
36         dh_lisp
37         dh_compress
38         dh_fixperms
39         dh_installdeb
40         dh_gencontrol
41         dh_md5sums
42         dh_builddeb
43
44 binary-arch:
45
46 binary: binary-indep
47
48
49 .PHONY: build clean binary-indep binary-arch binary install