commit | aa64c39b20c2e4d77392d9de4abf79a4c242a579 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Fri Aug 05 13:42:37 2011 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Fri Aug 05 13:42:37 2011 +0000 |
tree | 698536d0ce878fb47f041457738599d19f6f5bf2 | |
parent | a6c91b11bf77264badc714e53e710803cf181a73 [diff] [blame] |
using sed instead of perl
diff --git a/docs/GNUmakefile b/docs/GNUmakefile index 2d9d418..7d1eeba 100644 --- a/docs/GNUmakefile +++ b/docs/GNUmakefile
@@ -10,7 +10,7 @@ com.pault.StyleSheet \ -x com.pault.XX -y com.pault.XX \ $(1) docs/xsls/dump.xsls \ - | perl -e 'undef $$/; $$_ = <>; s/(\n\n)+/\n/gs; print' > $(2) + | sed 's/ *$$//;/^ *$$/N;/\n *$$/D' > $(2) if [ ! -s $(2) ]; then rm $(2); fi; test -s $(2) endef