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:
@@ -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 -
|
||||
|
||||
|
||||
Reference in New Issue
Block a user