From 09e82c7914ce3827b06c4ff89213fc5ad06b3e22 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 26 Feb 2009 14:48:21 +1100 Subject: [PATCH] Fix version.html generation for POSIX sed. --- common/Makefile.doc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/Makefile.doc b/common/Makefile.doc index 6eba6b8d..9fed1d5e 100644 --- a/common/Makefile.doc +++ b/common/Makefile.doc @@ -57,5 +57,6 @@ $(ADC_FILES): %.html: %.txt $(BASE)/Makefile.doc $(ADC_DEPS) version.html: ../../NEWS $(BASE)/Makefile.doc $(ADC_DEPS) @echo "DOC locale/$(LOCALE)/$@" # NOTE: asciidoc doesn't source the conf file implicitly when processing stdin - sed -e '1i\HEADER' -e '/^[0-9]/d' -e '/^ \+\* version /s/.*version \+\([0-9.]\+\).*/section:Version{nbsp}\1[version-\1]\ + sed -e '1i\ +HEADER' -e '/^[0-9]/d' -e '/^ \+\* version /s/.*version \+\([0-9.]\+\).*/section:Version{nbsp}\1[version-\1]\ /' ../../NEWS | ${ASCIIDOC} -f asciidoc.conf -a doctitle=version.html -o version.html -