commit descriptions and marking them up with <tag>foo</tag>
instances.
$(XSLT) $< $(NEWS_MAKER) $@ \
latest-tag="'$(shell cat LatestTag)'" \
release-version="'$(RELVER)'"
+ for element in \
+ $(shell $(XSLT) $(DOCBOOK_RNG) $(GET_ELEMENT_NAMES) | sort | uniq); \
+ do $(SED) $(SED_OPTS) -i \
+ "s/\([^<\/A-Za-z0-9_\.\-]\)\($$element\)\([^A-Za-z0-9_\.\-]\)/\1<FOOM>\2<\/FOOM>\3/g" $@; done; \
+ $(SED) $(SED_OPTS) -i s/FOOM/tag/g $@
NEWS.html: NEWS.xml
$(XSLT) $< $(DOC-LINK-STYLE) $@
# stylesheet used for determining the latest cvs tag in cvs log
GET_LATEST_TAG=docsrc/get-latest-tag.xsl
+GET_ELEMENT_NAMES=docsrc/get-element-names.xsl
+
+DOCBOOK_RNG=../docbook/relaxng/docbook/docbook.rng
+
# stylesheet for generating FO version of release notes
FO-STYLE=$(DOCBOOK_CVS)/xsl/fo/docbook.xsl