Skip to content
Snippets Groups Projects
Commit 7a740c92 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

Drop separate release notes

parent b1af3361
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,6 @@ Makefile.config
/nix.spec
/stamp-h1
/svn-revision
/NEWS
/libtool
/corepkgs/config.nix
......@@ -32,7 +31,6 @@ Makefile.config
/doc/manual/*.5
/doc/manual/*.8
/doc/manual/version.txt
/doc/manual/release-notes.html
# /scripts/
/scripts/nix-profile.sh
......
......@@ -83,31 +83,3 @@ $(d)/manual.pdf: $(d)/manual.xml $(MANUAL_SRCS) $(d)/manual.is-valid
fi
clean-files += $(d)/manual.pdf
# Generate the release notes.
NEWS_OPTS = \
--stringparam generate.toc "article nop" \
--stringparam section.autolabel.max.depth 0 \
--stringparam header.rule 0
$(d)/release-notes.html: $(d)/release-notes.xml
$(trace-gen) $(XSLTPROC) --xinclude --output $@ $(NEWS_OPTS) \
$(docbookxsl)/xhtml/docbook.xsl $<
NEWS: $(d)/release-notes.xml
$(trace-gen) $(XSLTPROC) --xinclude doc/manual/quote-literals.xsl $< | \
$(XSLTPROC) --output $@.tmp.html $(NEWS_OPTS) \
$(docbookxsl)/xhtml/docbook.xsl - && \
LANG=en_US.UTF-8 $(w3m) -dump $@.tmp.html > $@.tmp && \
sed -e 's/●/*/g' -e 's/○/-/g' -e 's/━/-/g' < $@.tmp > NEWS && \
rm $@.tmp $@.tmp.html
dist-files += NEWS $(d)/release-notes.html
clean-files += NEWS $(d)/release-notes.html
all: $(d)/release-notes.html NEWS
$(foreach file, $(d)/release-notes.html, $(eval $(call install-data-in, $(file), $(docdir)/manual)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment