DEB tqt3: Add dh_strip_nondeterminism to support a reproducible build.

Correction of a typo in the TQWidget documentation is no longer needed.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/63/head
Slávek Banko 5 years ago
parent 932ceb6e3e
commit 3169cdfbff
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -238,8 +238,6 @@ install: build
# copy all docs there first # copy all docs there first
install -d $(P_DOC)/usr/share/tqt3/doc/html/ install -d $(P_DOC)/usr/share/tqt3/doc/html/
for a in `cd $(TMP_INSTALL)/usr/share/tqt3/doc/html/ && find`; do cp $(TMP_INSTALL)/usr/share/tqt3/doc/html/"$$a" $(P_DOC)/usr/share/tqt3/doc/html/; done for a in `cd $(TMP_INSTALL)/usr/share/tqt3/doc/html/ && find`; do cp $(TMP_INSTALL)/usr/share/tqt3/doc/html/"$$a" $(P_DOC)/usr/share/tqt3/doc/html/; done
#typo bugfix
sed -i -e 's/reveives/receives/' $(P_DOC)/usr/share/tqt3/doc/html/ntqwidget.html
## build designer package documentation ## build designer package documentation
# tqt3-designer # tqt3-designer
@ -443,6 +441,8 @@ binary-arch: build install
dh_link -a $(IBASE) dh_link -a $(IBASE)
dh_strip -a $(IBASE) --dbg-package=tqt-x11-free-dbg dh_strip -a $(IBASE) --dbg-package=tqt-x11-free-dbg
$(if $(wildcard /usr/bin/dh_strip_nondeterminism),\
dh_strip_nondeterminism -a $(IBASE))
dh_compress -a $(IBASE) dh_compress -a $(IBASE)
dh_fixperms -a $(IBASE) dh_fixperms -a $(IBASE)

@ -238,8 +238,6 @@ install: build
# copy all docs there first # copy all docs there first
install -d $(P_DOC)/usr/share/tqt3/doc/html/ install -d $(P_DOC)/usr/share/tqt3/doc/html/
for a in `cd $(TMP_INSTALL)/usr/share/tqt3/doc/html/ && find`; do cp $(TMP_INSTALL)/usr/share/tqt3/doc/html/"$$a" $(P_DOC)/usr/share/tqt3/doc/html/; done for a in `cd $(TMP_INSTALL)/usr/share/tqt3/doc/html/ && find`; do cp $(TMP_INSTALL)/usr/share/tqt3/doc/html/"$$a" $(P_DOC)/usr/share/tqt3/doc/html/; done
#typo bugfix
sed -i -e 's/reveives/receives/' $(P_DOC)/usr/share/tqt3/doc/html/ntqwidget.html
## build designer package documentation ## build designer package documentation
# tqt3-designer # tqt3-designer
@ -443,6 +441,8 @@ binary-arch: build install
dh_link -a $(IBASE) dh_link -a $(IBASE)
dh_strip -a $(IBASE) --dbg-package=tqt-x11-free-dbg dh_strip -a $(IBASE) --dbg-package=tqt-x11-free-dbg
$(if $(wildcard /usr/bin/dh_strip_nondeterminism),\
dh_strip_nondeterminism -a $(IBASE))
dh_compress -a $(IBASE) dh_compress -a $(IBASE)
dh_fixperms -a $(IBASE) dh_fixperms -a $(IBASE)

Loading…
Cancel
Save