eliminate lintian warnings
[pipes.git] / debian / rules
1 #!/usr/bin/make -f
2
3 pkg     := pipes
4 debpkg  := cl-pipes
5
6 clc-source      := usr/share/common-lisp/source
7 clc-systems     := usr/share/common-lisp/systems
8 clc-pipes       := $(clc-source)/$(pkg)
9
10 doc-dir         := usr/share/doc/$(debpkg)
11
12
13 configure: configure-stamp
14 configure-stamp:
15         dh_testdir
16         # Add here commands to configure the package.
17
18         touch configure-stamp
19
20
21 build: build-stamp
22
23 build-stamp: configure-stamp 
24         dh_testdir
25         # Add here commands to compile the package.
26         touch build-stamp
27
28 clean:
29         dh_testdir
30         dh_testroot
31         rm -f build-stamp configure-stamp
32         # Add here commands to clean up after the build process.
33         rm -f debian/cl-pipes.postinst.* debian/cl-pipes.prerm.*
34         dh_clean
35
36 install: build
37         dh_testdir
38         dh_testroot
39         dh_clean -k
40         # Add here commands to install the package into debian/pipes.
41         dh_installdirs $(clc-systems) $(clc-pipes) $(doc-dir)
42         dh_install pipes.asd $(shell echo *.lisp) $(clc-pipes)
43         dh_link $(clc-pipes)/pipes.asd $(clc-systems)/pipes.asd
44
45 # Build architecture-independent files here.
46 binary-indep: build install
47         dh_testdir -i 
48         dh_testroot -i
49 #       dh_installdebconf       
50         dh_installdocs -i
51         dh_installexamples -i pipes-example.lisp
52 #       dh_installmenu
53 #       dh_installlogrotate
54 #       dh_installemacsen
55 #       dh_installpam
56 #       dh_installmime
57 #       dh_installinit
58 #       dh_installcron
59 #       dh_installman
60 #       dh_installinfo
61 #       dh_undocumented
62         dh_installchangelogs -i
63         dh_strip -i
64         dh_compress -i
65         dh_fixperms -i
66 #       dh_makeshlibs
67         dh_installdeb -i
68 #       dh_perl
69         dh_shlibdeps -i
70         dh_gencontrol -i
71         dh_md5sums -i
72         dh_builddeb -i
73
74 # Build architecture-dependent files here.
75 binary-arch: build install
76
77 binary: binary-indep binary-arch
78 .PHONY: build clean binary-indep binary-arch binary install configure
79