diff options
author | Gerald Combs <gerald@zing.org> | 2014-07-16 18:38:42 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-07-21 15:31:16 +0000 |
commit | 700a474d3b3c61fac0a910c8efd35b66e40cbedc (patch) | |
tree | bd4047c6268c47a3d33ea21796c8f1218cd0437b /docbook/Makefile.nmake | |
parent | d52f4d5e0051901b7449848bc58f195f712b2ac9 (diff) |
Start converting the User's Guide to AsciiDoc.
Convert the preface and introduction. Update various makefiles.
Change-Id: Id998cabadb6de458f04b7a43bdba4f98e4edb052
Reviewed-on: https://code.wireshark.org/review/3139
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Tested-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'docbook/Makefile.nmake')
-rw-r--r-- | docbook/Makefile.nmake | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/docbook/Makefile.nmake b/docbook/Makefile.nmake index 918e93a798..3b72aeedb7 100644 --- a/docbook/Makefile.nmake +++ b/docbook/Makefile.nmake @@ -35,19 +35,19 @@ A2X_TEXT_OPTS=$(A2X_TEXT_OPTS) --lynx # Used for chapter-by-chapter conversion from DocBook to AsciiDoc. # .asciidoc -> whole book (.dbk) -> chapter (.xml) # Can be removed after the User's Guide is converted. -#.asciidoc.xml: -# $(SH) << -# PATH=/usr/bin -# $(A2X) --verbose \ -# --asciidoc-opts="--conf-file=asciidoc.conf" \ -# --no-xmllint \ -# --format=docbook --doctype=book \ -# $< -#<< -# mv $*.xml $*.dbk -# xmllint --xpath "//chapter | //preface" $*.dbk > $@ - -#.SUFFIXES: .asciidoc .xml +.asciidoc.xml: + $(SH) << + PATH=/usr/bin + $(A2X) --verbose \ + --asciidoc-opts="--conf-file=asciidoc.conf" \ + --no-xmllint \ + --format=docbook --doctype=book \ + $< +<< + mv $*.xml $*.dbk + xmllint --xpath "//chapter | //preface" $*.dbk > $@ + +.SUFFIXES: .asciidoc .xml # -- (Public) targets ------------------------------------------------------- |