]> mj.ucw.cz Git - libucw.git/blob - debian/rules
88441da9e3c34b0976a05694ef568b5766fa4dc9
[libucw.git] / debian / rules
1 #!/usr/bin/make -f
2 # debian/rules for LibUCW
3 # (c) 2013 Pavel Charvat <pchar@ucw.cz>
4
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
7
8 include obj/config.mk
9
10 build: build-stamp
11
12 build-stamp:
13         dh_testdir
14         $(MAKE)
15         #$(MAKE) tests
16         touch $@
17
18 clean:
19         dh_testdir
20         dh_testroot
21         rm -f build-stamp
22         -$(MAKE) clean
23         dh_clean
24
25 install: build
26         dh_testdir
27         dh_testroot
28         dh_clean -k
29         dh_installdirs
30         $(MAKE) DESTDIR=$(CURDIR)/debian/libucw-$(UCW_ABI_VERSION) $(addprefix install-,libucw libucw-charset libucw-xml libucw-images)
31         $(MAKE) DESTDIR=$(CURDIR)/debian/libucw-dev $(addprefix install-,$(addsuffix -api,libucw libucw-charset libucw-xml libucw-images))
32         $(MAKE) DESTDIR=$(CURDIR)/debian/libucw-doc install-libucw-docs
33
34 binary-indep: build install
35
36 binary-arch: build install
37         dh_testdir
38         dh_testroot
39         dh_installchangelogs
40         dh_installdocs
41 #       dh_installexamples
42 #       dh_install
43 #       dh_installmenu
44 #       dh_installdebconf
45 #       dh_installlogrotate
46 #       dh_installemacsen
47 #       dh_installpam
48 #       dh_installmime
49 #       dh_installcron
50 #       dh_installinfo
51 #       dh_installman
52 #       dh_link
53 #       dh_strip
54         dh_compress
55         dh_fixperms
56 #       dh_perl
57 #       dh_python
58         dh_makeshlibs
59         dh_installdeb
60         dh_shlibdeps
61         dh_gencontrol
62         dh_md5sums
63         dh_builddeb
64
65 binary: binary-indep binary-arch
66 .PHONY: build clean binary-indep binary-arch binary install