[Python-apps-commits] r4148 - in packages/mercurial/trunk/debian (rules)

vdanjean at users.alioth.debian.org vdanjean at users.alioth.debian.org
Thu Nov 19 19:44:54 UTC 2009


    Date: Thursday, November 19, 2009 @ 19:44:54
  Author: vdanjean
Revision: 4148

Fix manpage generation

Modified:
  packages/mercurial/trunk/debian/rules

Modified: packages/mercurial/trunk/debian/rules
===================================================================
--- packages/mercurial/trunk/debian/rules	2009-11-19 19:44:49 UTC (rev 4147)
+++ packages/mercurial/trunk/debian/rules	2009-11-19 19:44:54 UTC (rev 4148)
@@ -8,7 +8,8 @@
 
 override_dh_auto_build: $(PYVERS:%=build-python%)
 	$(MAKE) -C doc man
-	touch $@
+	# Do not start a line with a word with a dot in a manpage
+	sed -i -e 's,^[.]\(hgignore\|hg/hgrc\),\\fP\1,' doc/hg.1
 
 build-python%: mercurial/__version__.py
 	python$* setup.py build




More information about the Python-apps-commits mailing list