… | |
… | |
27 | |
27 | |
28 | |
28 | |
29 | build: build-stamp |
29 | build: build-stamp |
30 | build-stamp: config.status |
30 | build-stamp: config.status |
31 | dh_testdir |
31 | dh_testdir |
32 | $(MAKE) |
32 | $(MAKE) pkgdatadir=/usr/share/doc/libpsiconv6 |
33 | touch build-stamp |
33 | touch build-stamp |
34 | |
34 | |
35 | clean: |
35 | clean: |
36 | dh_testdir |
36 | dh_testdir |
37 | dh_testroot |
37 | dh_testroot |
… | |
… | |
47 | |
47 | |
48 | install: build |
48 | install: build |
49 | dh_testdir |
49 | dh_testdir |
50 | dh_testroot |
50 | dh_testroot |
51 | dh_clean -k |
51 | dh_clean -k |
52 | $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp |
52 | $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp pkgdatadir=/usr/share/doc/libpsiconv6 |
53 | |
53 | |
54 | |
54 | |
55 | # Build architecture-independent files here. |
55 | # Build architecture-independent files here. |
56 | binary-indep: build install psiconv-doc |
56 | binary-indep: build install psiconv-doc |
57 | |
57 | |
58 | |
58 | |
59 | # Build architecture-dependent files here. |
59 | # Build architecture-dependent files here. |
60 | binary-arch: build install psiconv-dev libpsiconv6 psiconv |
60 | binary-arch: build install libpsiconv-dev libpsiconv6 psiconv |
61 | |
61 | |
62 | psiconv-dev: |
62 | libpsiconv-dev: |
63 | dh_testdir |
63 | dh_testdir |
64 | dh_testroot |
64 | dh_testroot |
65 | rm -rf debian/$@ |
65 | rm -rf debian/$@ |
66 | dh_installdirs -p $@ |
66 | dh_installdirs -p $@ |
67 | ln -sfn libpsiconv6 debian/$@/usr/share/doc/$@ |
67 | ln -sfn libpsiconv6 debian/$@/usr/share/doc/$@ |
68 | dh_install -p $@ --sourcedir debian/tmp |
68 | dh_install -p $@ --sourcedir debian/tmp |
|
|
69 | dh_installman -p $@ |
69 | dh_link -p $@ |
70 | dh_link -p $@ |
70 | dh_strip -p $@ |
71 | dh_strip -p $@ |
71 | dh_compress -p $@ |
72 | dh_compress -p $@ |
72 | dh_fixperms -p $@ |
73 | dh_fixperms -p $@ |
73 | dh_installdeb -p $@ |
74 | dh_installdeb -p $@ |