tag 608179 patch
thanks

Mark Brown <broo...@debian.org> (28/12/2010):
> Thanks.  This looks like debhelper messed up and hasn't copied the man
> page for the compiler in.

It looks like that's due to dh_installmanpages's relying on “file -z”
to check it's indeed a manpage, which seems to fail here for that
file:
| nob...@kitty:~/tendra-4.1.2$ file -z src/tools/tcc/tcc.1
| src/tools/tcc/tcc.1: FORTRAN program

The attached patch seems to work around this issue, tagging
accordingly.

KiBi.
--- tendra-4.1.2/debian/rules
+++ tendra-4.1.2/debian/rules
@@ -45,6 +45,11 @@
 	dh_installexamples -a
 	dh_installmenu -a
 	dh_installmanpages -a
+	# Hotfix for #608179:
+	if [ ! -e debian/tendra/usr/share/man/man1/tcc.1 ]; then \
+		echo "dh_installmanpages missed tcc.1, installing manually"; \
+		install -p -m644 src/tools/tcc/tcc.1 debian/tendra/usr/share/man/man1/tcc.1; \
+	fi
 	mv debian/tendra/usr/bin/tcc debian/tendra/usr/bin/tendracc
 	mv debian/tendra/usr/share/man/man1/tcc.1 debian/tendra/usr/share/man/man1/tendracc.1
 	rm debian/tendra/usr/bin/trans debian/tendra/usr/share/man/man1/trans.1

Attachment: signature.asc
Description: Digital signature

Reply via email to