diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2021-09-05 16:49:13 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2021-09-05 16:51:25 +0200 |
commit | 3637af2b7405b40ee3478c3a95fddb7accf3e6bf (patch) | |
tree | e848fd869a016cb93610aead9563d07d40befbae /debian | |
parent | f686a4233897d626574dddec69116107adc2c806 (diff) | |
download | zsh-3637af2b7405b40ee3478c3a95fddb7accf3e6bf.tar.gz zsh-3637af2b7405b40ee3478c3a95fddb7accf3e6bf.zip |
Set runhelpdir at configure time; drop sed-based fixup at install time. (Closes: #993539)
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index e893db2c0..8d034450a 100755 --- a/debian/rules +++ b/debian/rules @@ -26,6 +26,7 @@ CONFIGFLAGS += --enable-etcdir=/etc/zsh CONFIGFLAGS += --enable-function-subdirs CONFIGFLAGS += --enable-site-fndir=/usr/local/share/zsh/site-functions CONFIGFLAGS += --enable-fndir=/usr/share/zsh/functions +CONFIGFLAGS += --enable-runhelpdir=/usr/share/zsh/help CONFIGFLAGS += --with-tcsetpgrp CONFIGFLAGS += --with-term-lib="ncursesw tinfo" CONFIGFLAGS += --enable-cap --enable-pcre @@ -131,7 +132,7 @@ override_dh_install-indep: dh_install -i # Doesn't this need to go before we zcompile stuff into .zwc files? -- Axel - sed -i -e 's,^local HELPDIR=.*,local HELPDIR=$${HELPDIR:-/usr/share/zsh/help},; s,:-more,:-/usr/bin/pager,;' \ + sed -i -e 's,:-more,:-/usr/bin/pager,;' \ debian/zsh-common/usr/share/zsh/functions/Misc/run-help sed -i -e '1!b;s:^#!.*[ /]zsh:#!/bin/zsh:;s#/usr/local/bin#/usr/bin#;' \ `find debian/zsh-common/usr/share/zsh/functions -type f` |