about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--doc/manual/local.mk28
2 files changed, 0 insertions, 30 deletions
diff --git a/.gitignore b/.gitignore
index 0a3c979208bf..c8a65ad6f458 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 f359b3e27a8f..223a49b3736a 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)))