Improve changelog.html

This commit is contained in:
Christian Hohnstaedt 2018-03-01 17:49:17 +01:00
parent 748c53eedc
commit e52263e4a3

View File

@ -31,8 +31,8 @@ app: xca.html
changelog.html: $(TOPDIR)/changelog $(TOPDIR)/doc/html.header
( cat $(TOPDIR)/doc/html.header; \
echo '</head><body><div><ul>'; \
sed 's/&/\&amp;/g; s/</\&lt;/g; s/>/\&gt;/g; s/^xca \([0-9\.]*\) \(.*\)/<\/ul><\/div><div id="changelog_\1"><h3>xca \1 \2<\/h3><ul>/; s/\*/<\/li><li>/'; \
echo '</head><body><h2>Changelog</h2><div><ul>'; \
sed 's/&/\&amp;/g; s/</\&lt;/g; s/>/\&gt;/g; s/^xca \([^ ]*\) *\(.*\)/<\/ul><\/div><div id="changelog_\1"><h3>xca \1 \2<\/h3><ul>/; s/\*/<\/li><li>/'; \
echo '</body></html>' \
) < $< > $@