mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
Manual: html -> xhtml
This commit is contained in:
parent
e477f0e938
commit
e82951fe23
1 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ dist-files += $(man-pages)
|
||||||
$(d)/manual.html: $(d)/manual.xml $(MANUAL_SRCS) $(d)/manual.is-valid
|
$(d)/manual.html: $(d)/manual.xml $(MANUAL_SRCS) $(d)/manual.is-valid
|
||||||
$(trace-gen) $(XSLTPROC) --xinclude --stringparam profile.condition manual \
|
$(trace-gen) $(XSLTPROC) --xinclude --stringparam profile.condition manual \
|
||||||
$(docbookxsl)/profiling/profile.xsl $< | \
|
$(docbookxsl)/profiling/profile.xsl $< | \
|
||||||
$(XSLTPROC) --output $@ $(docbookxsl)/html/docbook.xsl -
|
$(XSLTPROC) --output $@ $(docbookxsl)/xhtml/docbook.xsl -
|
||||||
|
|
||||||
$(foreach file, $(d)/manual.html $(d)/style.css, $(eval $(call install-data-in, $(file), $(docdir)/manual)))
|
$(foreach file, $(d)/manual.html $(d)/style.css, $(eval $(call install-data-in, $(file), $(docdir)/manual)))
|
||||||
|
|
||||||
|
@ -94,12 +94,12 @@ NEWS_OPTS = \
|
||||||
|
|
||||||
$(d)/release-notes.html: $(d)/release-notes.xml
|
$(d)/release-notes.html: $(d)/release-notes.xml
|
||||||
$(trace-gen) $(XSLTPROC) --xinclude --output $@ $(NEWS_OPTS) \
|
$(trace-gen) $(XSLTPROC) --xinclude --output $@ $(NEWS_OPTS) \
|
||||||
$(docbookxsl)/html/docbook.xsl $<
|
$(docbookxsl)/xhtml/docbook.xsl $<
|
||||||
|
|
||||||
NEWS: $(d)/release-notes.xml
|
NEWS: $(d)/release-notes.xml
|
||||||
$(trace-gen) $(XSLTPROC) --xinclude doc/manual/quote-literals.xsl $< | \
|
$(trace-gen) $(XSLTPROC) --xinclude doc/manual/quote-literals.xsl $< | \
|
||||||
$(XSLTPROC) --output $@.tmp.html $(NEWS_OPTS) \
|
$(XSLTPROC) --output $@.tmp.html $(NEWS_OPTS) \
|
||||||
$(docbookxsl)/html/docbook.xsl - && \
|
$(docbookxsl)/xhtml/docbook.xsl - && \
|
||||||
LANG=en_US.UTF-8 $(w3m) -dump $@.tmp.html > $@.tmp && \
|
LANG=en_US.UTF-8 $(w3m) -dump $@.tmp.html > $@.tmp && \
|
||||||
sed -e 's/●/*/g' -e 's/○/-/g' -e 's/━/-/g' < $@.tmp > NEWS && \
|
sed -e 's/●/*/g' -e 's/○/-/g' -e 's/━/-/g' < $@.tmp > NEWS && \
|
||||||
rm $@.tmp $@.tmp.html
|
rm $@.tmp $@.tmp.html
|
||||||
|
|
Loading…
Reference in a new issue