]> mj.ucw.cz Git - sock.git/blob - debian/rules
Debianized.
[sock.git] / debian / rules
1 #!/usr/bin/make -f
2 # Rules for building of sock Debian/UCW Package
3 # (c) 2001 Martin Mares <mj@ucw.cz>
4
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
7
8 build: build-stamp
9 build-stamp:
10         dh_testdir
11         CFLAGS="-O2" ./configure --prefix=/usr
12         $(MAKE)
13         touch build-stamp
14
15 clean:
16         dh_testdir
17         dh_testroot
18         rm -f build-stamp
19         $(MAKE) distclean
20         dh_clean
21
22 binary-indep: build
23
24 binary-arch: build
25         dh_testdir
26         dh_testroot
27         dh_clean -k
28         dh_installdirs usr usr/bin usr/man usr/man/man1
29
30         $(MAKE) prefix=`pwd`/debian/tmp/usr install
31
32 #       dh_installdocs
33 #       dh_installexamples
34 #       dh_installmenu
35 #       dh_installinit
36 #       dh_installcron
37         dh_installmanpages
38         dh_installchangelogs
39         dh_strip
40 #       dh_compress
41         dh_fixperms
42 #       dh_suidregister
43         dh_installdeb
44         dh_shlibdeps
45         dh_gencontrol
46 #       dh_makeshlibs
47         dh_md5sums
48         dh_builddeb
49
50 binary: binary-indep binary-arch
51
52 .PHONY: build clean binary-indep binary-arch binary