… | |
… | |
21 | INSTALL_PROGRAM += -s |
21 | INSTALL_PROGRAM += -s |
22 | endif |
22 | endif |
23 | |
23 | |
24 | config.status: configure |
24 | config.status: configure |
25 | dh_testdir |
25 | dh_testdir |
26 | CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --enable-ascii-docs --datadir=/usr/share/doc --mandir=/usr/share/man |
26 | CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --enable-ascii-docs --datadir=/usr/share/doc --mandir=/usr/share/man --with-etcdir=/etc/psiconv |
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 |
… | |
… | |
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 libpsiconv5 psiconv |
60 | binary-arch: build install psiconv-dev libpsiconv6 psiconv |
61 | |
61 | |
62 | psiconv-dev: |
62 | psiconv-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 libpsiconv5 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_link -p $@ |
69 | dh_link -p $@ |
70 | dh_strip -p $@ |
70 | dh_strip -p $@ |
71 | dh_compress -p $@ |
71 | dh_compress -p $@ |
72 | dh_fixperms -p $@ |
72 | dh_fixperms -p $@ |
… | |
… | |
78 | psiconv-doc: |
78 | psiconv-doc: |
79 | dh_testdir |
79 | dh_testdir |
80 | dh_testroot |
80 | dh_testroot |
81 | rm -rf debian/$@ |
81 | rm -rf debian/$@ |
82 | dh_installdirs -p $@ |
82 | dh_installdirs -p $@ |
83 | ln -sfn libpsiconv5 debian/$@/usr/share/doc/$@ |
83 | ln -sfn libpsiconv6 debian/$@/usr/share/doc/$@ |
84 | dh_install -p $@ --sourcedir debian/tmp |
84 | dh_install -p $@ --sourcedir debian/tmp |
85 | dh_compress -p $@ |
85 | dh_compress -p $@ |
86 | dh_fixperms -p $@ |
86 | dh_fixperms -p $@ |
87 | dh_installdeb -p $@ |
87 | dh_installdeb -p $@ |
88 | dh_gencontrol -p $@ |
88 | dh_gencontrol -p $@ |
89 | dh_md5sums -p $@ |
89 | dh_md5sums -p $@ |
90 | dh_builddeb -p $@ |
90 | dh_builddeb -p $@ |
91 | |
91 | |
92 | libpsiconv5: |
92 | libpsiconv6: |
93 | dh_testdir |
93 | dh_testdir |
94 | dh_testroot |
94 | dh_testroot |
95 | rm -rf debian/$@ |
95 | rm -rf debian/$@ |
96 | dh_installdirs -p $@ |
96 | dh_installdirs -p $@ |
97 | dh_installdocs -p $@ |
97 | dh_installdocs -p $@ |
… | |
… | |
100 | dh_link -p $@ |
100 | dh_link -p $@ |
101 | dh_strip -p $@ |
101 | dh_strip -p $@ |
102 | dh_compress -p $@ |
102 | dh_compress -p $@ |
103 | dh_fixperms -p $@ |
103 | dh_fixperms -p $@ |
104 | dh_makeshlibs -p $@ |
104 | dh_makeshlibs -p $@ |
|
|
105 | dh_shlibdeps -p $@ |
105 | dh_installdeb -p $@ |
106 | dh_installdeb -p $@ |
106 | dh_gencontrol -p $@ |
107 | dh_gencontrol -p $@ |
107 | dh_md5sums -p $@ |
108 | dh_md5sums -p $@ |
108 | dh_builddeb -p $@ |
109 | dh_builddeb -p $@ |
109 | |
110 | |
110 | psiconv: |
111 | psiconv: |
111 | dh_testdir |
112 | dh_testdir |
112 | dh_testroot |
113 | dh_testroot |
113 | rm -rf debian/$@ |
114 | rm -rf debian/$@ |
114 | dh_installdirs -p $@ |
115 | dh_installdirs -p $@ |
115 | ln -sfn libpsiconv5 debian/$@/usr/share/doc/$@ |
116 | ln -sfn libpsiconv6 debian/$@/usr/share/doc/$@ |
116 | dh_install -p $@ --sourcedir debian/tmp |
117 | dh_install -p $@ --sourcedir debian/tmp |
117 | dh_installman -p $@ |
118 | dh_installman -p $@ |
118 | dh_link -p $@ |
119 | dh_link -p $@ |
119 | dh_strip -p $@ |
120 | dh_strip -p $@ |
120 | dh_compress -p $@ |
121 | dh_compress -p $@ |
121 | dh_fixperms -p $@ |
122 | dh_fixperms -p $@ |
|
|
123 | dh_shlibdeps -p $@ |
122 | dh_installdeb -p $@ |
124 | dh_installdeb -p $@ |
123 | dh_gencontrol -p $@ |
125 | dh_gencontrol -p $@ |
124 | dh_md5sums -p $@ |
126 | dh_md5sums -p $@ |
125 | dh_builddeb -p $@ |
127 | dh_builddeb -p $@ |
126 | |
128 | |