From 7a740c9288b55b50d173db8a010611cef51fcc17 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 16 Sep 2014 14:52:44 +0200 Subject: [PATCH] Drop separate release notes --- .gitignore | 2 -- doc/manual/local.mk | 28 ---------------------------- 2 files changed, 30 deletions(-) diff --git a/.gitignore b/.gitignore index 0a3c97920..c8a65ad6f 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/doc/manual/local.mk b/doc/manual/local.mk index f359b3e27..223a49b37 100644 --- a/doc/manual/local.mk +++ b/doc/manual/local.mk @@ -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)))