diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2013-01-05 04:28:16 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2013-01-05 05:26:34 +0100 |
commit | b78d2e2e7ac5c7c75de27580794d6aefd85d6841 (patch) | |
tree | 385ee6ace3e9f13f229c5bf350f0528893773723 | |
parent | 474dd5db82527e0e703c1c1d75e3e22ca6442aec (diff) | |
download | zsh-b78d2e2e7ac5c7c75de27580794d6aefd85d6841.tar.gz zsh-b78d2e2e7ac5c7c75de27580794d6aefd85d6841.zip |
debian/rules: Wrap long lines
-rwxr-xr-x | debian/rules | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules index a6cf963e7..ca2b4cbdb 100755 --- a/debian/rules +++ b/debian/rules @@ -139,8 +139,16 @@ binary-arch-dynamic: build-arch rm -r debian/zsh-common/usr/local # move this to a non-root section; also drop it for cross-compiles - awk '/^#define FPATH_DIR/ { head=$$3; gsub(/"/,"",head); }; /^#define FPATH_SUBDIRS/ { $$1=""; $$2=""; gsub(/[" ]/,""); tail=$$0; } END { printf "%s/%s\n", head, tail; };' obj/Src/zshpaths.h >obj/Src/zshpaths.temp - debian/zsh/bin/zsh -fc 'setopt extendedglob; for i in debian/zsh-common/'`cat obj/Src/zshpaths.temp`'; do zcompile -U -M $$i.zwc $$i/*~*.zwc(^/) ; chmod 644 $$i.zwc ; done' + awk '/^#define FPATH_DIR/ { head=$$3; gsub(/"/,"",head); }; \ + /^#define FPATH_SUBDIRS/ { $$1=""; $$2=""; gsub(/[" ]/,""); tail=$$0; } \ + END { printf "%s/%s\n", head, tail; };' \ + obj/Src/zshpaths.h >obj/Src/zshpaths.temp + debian/zsh/bin/zsh -fc \ + 'setopt extendedglob; \ + for i in debian/zsh-common/'`cat obj/Src/zshpaths.temp`'; do \ + zcompile -U -M $$i.zwc $$i/*~*.zwc(^/); \ + chmod 644 $$i.zwc; \ + done' mv debian/zsh/bin/zsh debian/zsh/bin/zsh5 rm debian/zsh/bin/zsh-5.[0-9]* @@ -149,8 +157,11 @@ binary-arch-dynamic: build-arch dh_link -pzsh -pzsh-common -pzsh-dbg dh_install -pzsh -pzsh-common -pzsh-dbg - sed -i -e 's,^local HELPDIR=.*,local HELPDIR=$${HELPDIR:-/usr/share/zsh/help},;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` + sed -i -e 's,^local HELPDIR=.*,local HELPDIR=$${HELPDIR:-/usr/share/zsh/help},; \ + 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` chmod 755 debian/zsh-common/usr/share/zsh/functions/Misc/checkmail \ debian/zsh-common/usr/share/zsh/functions/Misc/harden \ debian/zsh-common/usr/share/zsh/functions/Misc/run-help \ |