Debian package updates by Jochen Kunkel
[openxpki.git] / trunk / package / debian / core / rules
blobdb5dd5aa160a7fc15cf0b0ee95a021051fcfa410
1 #!/usr/bin/make -f
3 PERL ?= /usr/bin/perl
5 arrange: arrange-stamp
6 arrange-stamp: install
7 dh_testdir
8 touch arrange-stamp
10 binary: binary-stamp
11 binary-stamp: binary-indep binary-arch
12 dh_testdir
13 touch binary-stamp
15 binary-arch: binary-arch-stamp
16 binary-arch-stamp: arrange
17 dh_testdir
18 touch binary-arch-stamp
20 binary-indep: binary-indep-stamp
21 binary-indep-stamp: arrange
22 dh_testdir
23 dh_testroot
24 dh_installdocs
25 dh_installexamples
26 dh_installchangelogs
27 dh_compress
28 dh_fixperms
29 dh_strip
30 dh_installdeb
31 dh_perl
32 dh_shlibdeps
33 dh_gencontrol
34 dh_md5sums
35 dh_builddeb
36 touch binary-indep-stamp
38 build: build-stamp
39 build-stamp: config
40 dh_testdir
41 OPENSSL_PREFIX=/usr $(PERL) Makefile.PL INSTALLDIRS=vendor
42 $(MAKE) OPTIMIZE="-O2 -g -Wall"
43 # $(MAKE) test
44 touch build-stamp
46 clean:
47 dh_testdir
48 dh_testroot
49 if [ -e Makefile ]; then $(MAKE) -i distclean; fi
50 dh_clean arrange-stamp binary-stamp binary-arch-stamp binary-indep-stamp build-stamp config-stamp install-stamp build-arch-stamp build-indep-stamp patch-stamp `find -name '*.bak'`
52 config: config-stamp
53 config-stamp:
54 dh_testdir
55 touch config-stamp
57 install: install-stamp
58 install-stamp: build
59 dh_testdir
60 dh_installdirs
61 $(MAKE) install PREFIX=$(CURDIR)/debian/libopenxpki-perl/usr
62 dh_makeshlibs
63 touch install-stamp
65 .PHONY: arrange binary binary-arch binary-indep build clean config install