1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 00:24:11 +01:00

Use the proper block macros for heading and section in version.html.

This commit is contained in:
Doug Kearns
2009-09-09 16:22:11 +10:00
parent e38e9f2d1a
commit 444e016428
2 changed files with 4 additions and 4 deletions

View File

@@ -56,9 +56,9 @@ version.html: ../../NEWS $(DEPS)
@echo "DOC locale/$(LOCALE)/$@"
# NOTE: asciidoc doesn't source the conf file implicitly when processing stdin
sed -e '1i\
heading:Version{nbsp}information[version-information]' \
heading::Version{nbsp}information[version-information]' \
-e '/^[0-9]/d' \
-e '/^ \+\* version /s/.*version \+\([0-9.]\+\).*/section:Version{nbsp}\1[version-\1]\
-e '/^ \+\* version /s/.*version \+\([0-9.]\+\).*/section::Version{nbsp}\1[version-\1]\
/' ../../NEWS | \
${ASCIIDOC} -f $(BASE)/asciidoc.conf -a doctitle=version.html -o version.html -