mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-05 13:14:59 +00:00
doc/xmlwf.1: Migrate from SGML to XML
This commit is contained in:
parent
80cd16cb06
commit
5a5b157ba3
4 changed files with 4 additions and 39 deletions
|
@ -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
|
||||
|
|
1
expat/doc/.gitignore
vendored
1
expat/doc/.gitignore
vendored
|
@ -1,3 +1,2 @@
|
|||
/XMLWF.1
|
||||
/xmlwf.1
|
||||
/xmlwf.xml
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
-->
|
Loading…
Add table
Reference in a new issue