diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-02-10 22:12:22 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-02-10 22:12:22 +0000 |
commit | e6b0f7cdfd0f3e25543258467760deb18e0eb2d1 (patch) | |
tree | 60232993dfa541da0f4b561af3ad1953bcc777b5 /docbook/Makefile.nmake | |
parent | 733b6702be4d7d598f2fc8022ae2732261d91b3d (diff) |
Use automake to build things in docbook/ .
This at least gets the docbook source distributed, as requested in:
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3871
Still to do:
1) get out-of-source-tree builds working
2) automatically check that everything is distributed with distcheck
(requires (1) but it may also require building the docbook
directory as part of "make all")
3) (optional) use automake rules to actually build the stuff (currently
Makefile.am is basically some automake stuff wrapped around standard
Makefile rules. Could this done better?)
svn path=/trunk/; revision=31858
Diffstat (limited to 'docbook/Makefile.nmake')
-rw-r--r-- | docbook/Makefile.nmake | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docbook/Makefile.nmake b/docbook/Makefile.nmake index a096e05bae..68fcf25b0d 100644 --- a/docbook/Makefile.nmake +++ b/docbook/Makefile.nmake @@ -48,7 +48,7 @@ release_notes: release_notes.validated release_notes_x # Clean all clean: - rm -rf $(CLEANFILES) + rm -rf $(CLEANFILES) $(CLEANDIRS) # -- All ------------------------------------------------------------------------------- @@ -59,7 +59,7 @@ all_x: wsug.validated wsdg.validated release_notes.validated wsug_x wsdg_x relea wsug_x: wsug_html_chunked user-guide.html user-guide-a4.pdf user-guide-us.pdf user-guide.chm user-guide.zip # validate the content -wsug.validated: $(WSUG_SOURCE) +wsug.validated: $(WSUG_SOURCE) wsluarm @ echo --- WSUG - VALIDATING XML --- $(XMLLINT) --valid --noout user-guide.xml touch $@ @@ -67,7 +67,7 @@ wsug.validated: $(WSUG_SOURCE) # create html single page file user-guide.html: wsug_html/user-guide.html -wsug_html/user-guide.html: $(WSUG_SOURCE) +wsug_html/user-guide.html: $(WSUG_SOURCE) wsluarm @ echo --- WSUG - HTML SINGLE PAGE --- if not exist wsug_html\wsug_graphics\toolbar md wsug_html\wsug_graphics\toolbar cp wsug_graphics/*.* wsug_html/wsug_graphics @@ -79,7 +79,7 @@ wsug_html/user-guide.html: $(WSUG_SOURCE) # create html chunked page files wsug_html_chunked: wsug_html_chunked\index.html -wsug_html_chunked\index.html: $(WSUG_SOURCE) +wsug_html_chunked\index.html: $(WSUG_SOURCE) wsluarm @ echo --- WSUG - HTML CHUNKED --- if not exist wsug_html_chunked\wsug_graphics\toolbar md wsug_html_chunked\wsug_graphics\toolbar cp wsug_graphics/*.* wsug_html_chunked/wsug_graphics @@ -90,7 +90,7 @@ wsug_html_chunked\index.html: $(WSUG_SOURCE) # create pdf file (through XSL-FO), portrait pages on US letter paper (the default) # you will get lot's of errors, but that's ok -user-guide-us.fo: $(WSUG_SOURCE) custom_layer_pdf.xsl +user-guide-us.fo: $(WSUG_SOURCE) custom_layer_pdf.xsl wsluarm !ifdef FOP @ echo --- WSUG - PDF US PAPER --- $(XSLTPROC) --stringparam paper.type letter --nonet custom_layer_pdf.xsl user-guide.xml > $@ @@ -98,14 +98,14 @@ user-guide-us.fo: $(WSUG_SOURCE) custom_layer_pdf.xsl # create pdf file (through XSL-FO), portrait pages on A4 paper # you will get lot's of errors, but that's ok -user-guide-a4.fo: $(WSUG_SOURCE) custom_layer_pdf.xsl +user-guide-a4.fo: $(WSUG_SOURCE) custom_layer_pdf.xsl wsluarm !ifdef FOP @ echo --- WSUG - PDF A4 PAPER --- $(XSLTPROC) --stringparam paper.type A4 --nonet custom_layer_pdf.xsl user-guide.xml > $@ !endif # create MS html help file (through html chunked pages) -user-guide.chm: $(WSUG_SOURCE) +user-guide.chm: $(WSUG_SOURCE) wsluarm !ifdef HHC_EXE @ echo --- WSUG - MICROSOFT HTML HELP --- if not exist wsug_chm\wsug_graphics\toolbar md wsug_chm\wsug_graphics\toolbar |