# Licensed under MIT/X License
DOCBOOK_TO_MAN = docbook2x-man
-SGML_TO_XML = sgml2xml-isoent
.PHONY: all
all: 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
-<!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>">
</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:
--->