diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index 874dcaf..0edd6a4 100755 --- a/debian/rules +++ b/debian/rules @@ -34,9 +34,9 @@ override_dh_auto_install: cp Doc/zsh.pdf debian/tmp/usr/share/doc/zsh-doc/ - mkdir -p debian/tmp/usr/share/zsh/help nroff -mandoc -Tascii Doc/zshbuiltins.1 | colcrt - | \ - ( cd debian/tmp/usr/share/zsh/help && perl $(CURDIR)/Util/helpfiles ) + sed -e 's/±/{+|-}/' | \ + perl $(CURDIR)/Util/helpfiles /dev/stdin debian/tmp/usr/share/zsh/help mkdir -p debian/tmp/usr/include/zsh mkdir -p debian/tmp/usr/share/zsh-dev @@ -54,6 +54,9 @@ override_dh_auto_install: Src/ztype.h \ debian/tmp/usr/include/zsh/ + sed -i -e 's,^local HELPDIR=.*,local HELPDIR=$${HELPDIR:-/usr/share/zsh/help},; s,:-more,:-/usr/bin/pager,;' \ + debian/tmp/usr/share/zsh/functions/Misc/run-help + override_dh_strip: dh_strip --dbg-package=zsh-dbg |