doc/xmlwf.1: Migrate from SGML to XML

This commit is contained in:
Sebastian Pipping 2016-06-18 01:21:50 +02:00
parent 80cd16cb06
commit 5a5b157ba3
4 changed files with 4 additions and 39 deletions

View file

@ -44,7 +44,7 @@ doc/reference.html
doc/style.css
doc/valid-xhtml10.png
doc/xmlwf.1
doc/xmlwf.sgml
doc/xmlwf.xml
CMakeLists.txt
CMake.README
COPYING

View file

@ -1,3 +1,2 @@
/XMLWF.1
/xmlwf.1
/xmlwf.xml

View file

@ -2,7 +2,6 @@
# Licensed under MIT/X License
DOCBOOK_TO_MAN = docbook2x-man
SGML_TO_XML = sgml2xml-isoent
.PHONY: all
all: xmlwf.1
@ -11,14 +10,8 @@ xmlwf.1: XMLWF.1
cp $< $@
XMLWF.1: xmlwf.xml
which $(DOCBOOK_TO_MAN)
$(DOCBOOK_TO_MAN) xmlwf.xml > $@ || { rm $@ ; exit 1; }
xmlwf.xml: xmlwf.sgml
which $(SGML_TO_XML)
$(SGML_TO_XML) xmlwf.sgml > $@ || true
grep -q '^<?xml' $@
$(DOCBOOK_TO_MAN) xmlwf.xml
.PHONY: clean
clean:
$(RM) xmlwf.1 XMLWF.1 xmlwf.xml
$(RM) xmlwf.1 XMLWF.1

View file

@ -1,14 +1,4 @@
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!-- Process this file with docbook-to-man to generate an nroff manual
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'. A typical entry in a Makefile or Makefile.am is:
manpage.1: manpage.sgml
docbook-to-man $< > $@
-->
<!DOCTYPE refentry [
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
<!ENTITY dhfirstname "<firstname>Scott</firstname>">
<!ENTITY dhsurname "<surname>Bronson</surname>">
@ -448,20 +438,3 @@ The W3 XML specification: http://www.w3.org/TR/REC-xml
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->