From a3c5de686b3f2daac7c8371ccdb8e13f1f73f032 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Tue, 9 May 2006 12:31:34 +0000 Subject: [PATCH 1/1] add files omitted from script for daily builds at York git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/fl/makedocs.vc | 106 ++++++++++++++++++++++++++++++++ contrib/src/gizmos/makedocs.vc | 107 +++++++++++++++++++++++++++++++++ contrib/src/mmedia/makedocs.vc | 106 ++++++++++++++++++++++++++++++++ contrib/src/ogl/makedocs.vc | 106 ++++++++++++++++++++++++++++++++ contrib/src/svg/makedocs.vc | 106 ++++++++++++++++++++++++++++++++ 5 files changed, 531 insertions(+) create mode 100644 contrib/src/fl/makedocs.vc create mode 100644 contrib/src/gizmos/makedocs.vc create mode 100644 contrib/src/mmedia/makedocs.vc create mode 100644 contrib/src/ogl/makedocs.vc create mode 100644 contrib/src/svg/makedocs.vc diff --git a/contrib/src/fl/makedocs.vc b/contrib/src/fl/makedocs.vc new file mode 100644 index 0000000000..40d1733a01 --- /dev/null +++ b/contrib/src/fl/makedocs.vc @@ -0,0 +1,106 @@ +# +# File: makefile.vc +WXDIR=$(WXWIN) + +NAME=fl +DOCSOURCEDIR=$(WXDIR)\contrib\docs\latex\$(NAME) +DOCDIR=$(WXDIR)\docs +THISDIR = $(WXDIR)\contrib\src\$(NAME) +DOCSOURCES=$(DOCSOURCEDIR)\$(NAME).tex \ + $(DOCSOURCEDIR)\classes.tex $(DOCSOURCEDIR)\topics.tex + +alldocs: mkdirs html htmlhelp htb hlp pdfrtf +html: touchmanual $(DOCDIR)\html\$(NAME)\$(NAME).htm +htmlhelp: touchmanual $(DOCDIR)\htmlhelp\$(NAME).chm +htb: $(DOCDIR)\htb\$(NAME).htb +hlp: touchmanual $(DOCDIR)\winhelp\$(NAME).hlp +pdfrtf: $(DOCDIR)\pdf\$(NAME).rtf +ps: $(DOCDIR)\ps\$(NAME).ps + +touchmanual: + touch $(DOCSOURCEDIR)\$(NAME).tex + +$(DOCDIR)\winhelp\$(NAME).hlp: $(DOCSOURCEDIR)\$(NAME).rtf $(DOCSOURCEDIR)\$(NAME).hpj + cd $(DOCSOURCEDIR) + -erase $(NAME).ph + hcw /c /e $(NAME) + move $(NAME).hlp $(DOCDIR)\winhelp\$(NAME).hlp + move $(NAME).cnt $(DOCDIR)\winhelp\$(NAME).cnt + cd $(THISDIR) + +$(DOCSOURCEDIR)\$(NAME).hpj: + echo [OPTIONS] > $(DOCSOURCEDIR)\$(NAME).hpj + echo BMROOT=$(WXDIR)\contrib\docs\latex\$(NAME) >> $(DOCSOURCEDIR)\$(NAME).hpj + echo TITLE=OGL Manual >> $(DOCSOURCEDIR)\$(NAME).hpj + echo CONTENTS=Contents >> $(DOCSOURCEDIR)\$(NAME).hpj + echo COMPRESS=HIGH >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [FILES] >> $(DOCSOURCEDIR)\$(NAME).hpj + echo $(NAME).rtf >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [CONFIG] >> $(DOCSOURCEDIR)\$(NAME).hpj + echo CreateButton("Up", "&Up", "JumpId(`$(NAME).hlp', `Contents')") >> $(DOCSOURCEDIR)\$(NAME).hpj + echo BrowseButtons() >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [MAP] >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [BITMAPS] >> $(DOCSOURCEDIR)\$(NAME).hpj + +$(DOCSOURCEDIR)\$(NAME).rtf: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\$(NAME).tex $(DOCSOURCEDIR)\$(NAME).rtf -twice -winhelp + cd $(THISDIR) + +$(DOCDIR)\pdf\$(NAME).rtf: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -copy *.bmp $(DOCDIR)\pdf + -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\$(NAME).tex $(DOCDIR)\pdf\$(NAME).rtf -twice -rtf + cd $(THISDIR) + +$(DOCDIR)\html\$(NAME)\$(NAME).htm: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -mkdir $(DOCDIR)\html\$(NAME) + copy *.gif $(DOCDIR)\html\$(NAME) + -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\$(NAME).tex $(DOCDIR)\html\$(NAME)\$(NAME).htm -twice -html + -erase $(DOCDIR)\html\$(NAME)\*.con + -erase *.con + -erase $(DOCDIR)\html\$(NAME)\*.ref + cd $(THISDIR) + +$(DOCDIR)\htmlhelp\$(NAME).chm: $(DOCDIR)\html\$(NAME)\$(NAME).htm $(DOCDIR)\html\$(NAME)\$(NAME).hhp + cd $(DOCDIR)\html\$(NAME) + -hhc $(NAME).hhp + -erase $(DOCDIR)\htmlhelp\$(NAME).chm + move $(NAME).chm $(DOCDIR)\htmlhelp\$(NAME).chm + cd $(THISDIR) + +# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk +# files, renamed to htb. +# This can then be used with e.g. helpview. +# Optionally, a cached version of the .hhp file can be generated with hhp2cached. +$(DOCDIR)\htb\$(NAME).htb: $(DOCDIR)\html\$(NAME)\$(NAME).htm + cd $(DOCDIR)\html\$(NAME) + -erase $(NAME).zip $(NAME).htb + zip $(NAME).zip *.htm *.gif *.hhp *.hhc *.hhk + -mkdir $(DOCDIR)\htb + -erase $(DOCDIR)\htb\$(NAME).htb + -erase $(DOCDIR)\htb\$(NAME).htb + move $(NAME).zip $(DOCDIR)\htb\$(NAME).htb + cd $(THISDIR) + +$(DOCSOURCEDIR)\$(NAME).dvi: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -latex $(NAME) + -latex $(NAME) + -makeindx $(NAME) + -bibtex $(NAME) + -latex $(NAME) + -latex $(NAME) + cd $(THISDIR) + +$(WXDIR)\docs\ps\$(NAME).ps: $(DOCSOURCEDIR)\$(NAME).dvi + cd $(DOCSOURCEDIR) + -dvips32 -o $(NAME).ps $(NAME) + move $(NAME).ps $(WXDIR)\docs\ps\$(NAME).ps + cd $(THISDIR) + diff --git a/contrib/src/gizmos/makedocs.vc b/contrib/src/gizmos/makedocs.vc new file mode 100644 index 0000000000..94d50692a6 --- /dev/null +++ b/contrib/src/gizmos/makedocs.vc @@ -0,0 +1,107 @@ +# +# File: makefile.vc +WXDIR=$(WXWIN) + +NAME=gizmos +WAITFLAG=/WAIT +DOCSOURCEDIR=$(WXDIR)\contrib\docs\latex\$(NAME) +DOCDIR=$(WXDIR)\docs +THISDIR = $(WXDIR)\contrib\src\$(NAME) +DOCSOURCES=$(DOCSOURCEDIR)\manual.tex \ + $(DOCSOURCEDIR)\classes.tex $(DOCSOURCEDIR)\topics.tex + +alldocs: mkdirs html htmlhelp htb hlp pdfrtf +html: touchmanual $(DOCDIR)\html\$(NAME)\$(NAME).htm +htmlhelp: touchmanual $(DOCDIR)\htmlhelp\$(NAME).chm +htb: $(DOCDIR)\htb\$(NAME).htb +hlp: touchmanual $(DOCDIR)\winhelp\$(NAME).hlp +pdfrtf: $(DOCDIR)\pdf\$(NAME).rtf +ps: $(DOCDIR)\ps\$(NAME).ps + +touchmanual: + touch $(DOCSOURCEDIR)\manual.tex + +$(DOCDIR)\winhelp\$(NAME).hlp: $(DOCSOURCEDIR)\$(NAME).rtf $(DOCSOURCEDIR)\$(NAME).hpj + cd $(DOCSOURCEDIR) + -erase $(NAME).ph + hcw /c /e $(NAME) + move $(NAME).hlp $(DOCDIR)\winhelp\$(NAME).hlp + move $(NAME).cnt $(DOCDIR)\winhelp\$(NAME).cnt + cd $(THISDIR) + +$(DOCSOURCEDIR)\$(NAME).hpj: + echo [OPTIONS] > $(DOCSOURCEDIR)\$(NAME).hpj + echo BMROOT=$(WXDIR)\contrib\docs\latex\$(NAME) >> $(DOCSOURCEDIR)\$(NAME).hpj + echo TITLE=OGL Manual >> $(DOCSOURCEDIR)\$(NAME).hpj + echo CONTENTS=Contents >> $(DOCSOURCEDIR)\$(NAME).hpj + echo COMPRESS=HIGH >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [FILES] >> $(DOCSOURCEDIR)\$(NAME).hpj + echo $(NAME).rtf >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [CONFIG] >> $(DOCSOURCEDIR)\$(NAME).hpj + echo CreateButton("Up", "&Up", "JumpId(`$(NAME).hlp', `Contents')") >> $(DOCSOURCEDIR)\$(NAME).hpj + echo BrowseButtons() >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [MAP] >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [BITMAPS] >> $(DOCSOURCEDIR)\$(NAME).hpj + +$(DOCSOURCEDIR)\$(NAME).rtf: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\manual.tex $(DOCSOURCEDIR)\$(NAME).rtf -twice -winhelp + cd $(THISDIR) + +$(DOCDIR)\pdf\$(NAME).rtf: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -copy *.bmp $(DOCDIR)\pdf + -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\manual.tex $(DOCDIR)\pdf\$(NAME).rtf -twice -rtf + cd $(THISDIR) + +$(DOCDIR)\html\$(NAME)\$(NAME).htm: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -mkdir $(DOCDIR)\html\$(NAME) + copy *.gif $(DOCDIR)\html\$(NAME) + -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\manual.tex $(DOCDIR)\html\$(NAME)\$(NAME) -html -twice + -erase $(DOCDIR)\html\$(NAME)\*.con + -erase *.con + -erase $(DOCDIR)\html\$(NAME)\*.ref + cd $(THISDIR) + +$(DOCDIR)\htmlhelp\$(NAME).chm: $(DOCDIR)\html\$(NAME)\$(NAME).htm $(DOCDIR)\html\$(NAME)\$(NAME).hhp + cd $(DOCDIR)\html\$(NAME) + -hhc $(NAME).hhp + -erase $(DOCDIR)\htmlhelp\$(NAME).chm + move $(NAME).chm $(DOCDIR)\htmlhelp\$(NAME).chm + cd $(THISDIR) + +# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk +# files, renamed to htb. +# This can then be used with e.g. helpview. +# Optionally, a cached version of the .hhp file can be generated with hhp2cached. +$(DOCDIR)\htb\$(NAME).htb: $(DOCDIR)\html\$(NAME)\$(NAME).htm + cd $(DOCDIR)\html\$(NAME) + -erase $(NAME).zip $(NAME).htb + zip $(NAME).zip *.htm *.gif *.hhp *.hhc *.hhk + -mkdir $(DOCDIR)\htb + -erase $(DOCDIR)\htb\$(NAME).htb + -erase $(DOCDIR)\htb\$(NAME).htb + move $(NAME).zip $(DOCDIR)\htb\$(NAME).htb + cd $(THISDIR) + +$(DOCSOURCEDIR)\$(NAME).dvi: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -latex $(NAME) + -latex $(NAME) + -makeindx $(NAME) + -bibtex $(NAME) + -latex $(NAME) + -latex $(NAME) + cd $(THISDIR) + +$(WXDIR)\docs\ps\$(NAME).ps: $(DOCSOURCEDIR)\$(NAME).dvi + cd $(DOCSOURCEDIR) + -dvips32 -o $(NAME).ps $(NAME) + move $(NAME).ps $(WXDIR)\docs\ps\$(NAME).ps + cd $(THISDIR) + diff --git a/contrib/src/mmedia/makedocs.vc b/contrib/src/mmedia/makedocs.vc new file mode 100644 index 0000000000..cc416a5f20 --- /dev/null +++ b/contrib/src/mmedia/makedocs.vc @@ -0,0 +1,106 @@ +# +# File: makefile.vc +WXDIR=$(WXWIN) + +NAME=mmedia +DOCSOURCEDIR=$(WXDIR)\contrib\docs\latex\$(NAME) +DOCDIR=$(WXDIR)\docs +THISDIR = $(WXDIR)\contrib\src\$(NAME) +DOCSOURCES=$(DOCSOURCEDIR)\$(NAME).tex \ + $(DOCSOURCEDIR)\classes.tex $(DOCSOURCEDIR)\topics.tex + +alldocs: mkdirs html htmlhelp htb hlp pdfrtf +html: $(DOCDIR)\html\$(NAME)\$(NAME).htm +htmlhelp: $(DOCDIR)\htmlhelp\$(NAME).chm +htb: $(DOCDIR)\htb\$(NAME).htb +hlp: $(DOCDIR)\winhelp\$(NAME).hlp +pdfrtf: $(DOCDIR)\pdf\$(NAME).rtf +ps: $(DOCDIR)\ps\$(NAME).ps + +touchmanual: + touch $(DOCSOURCEDIR)\$(NAME).tex + +$(DOCDIR)\winhelp\$(NAME).hlp: $(DOCSOURCEDIR)\$(NAME).rtf $(DOCSOURCEDIR)\$(NAME).hpj + cd $(DOCSOURCEDIR) + -erase $(NAME).ph + hcw /c /e $(NAME) + move $(NAME).hlp $(DOCDIR)\winhelp\$(NAME).hlp + move $(NAME).cnt $(DOCDIR)\winhelp\$(NAME).cnt + cd $(THISDIR) + +$(DOCSOURCEDIR)\$(NAME).hpj: + echo [OPTIONS] > $(DOCSOURCEDIR)\$(NAME).hpj + echo BMROOT=$(WXDIR)\contrib\docs\latex\$(NAME) >> $(DOCSOURCEDIR)\$(NAME).hpj + echo TITLE=OGL Manual >> $(DOCSOURCEDIR)\$(NAME).hpj + echo CONTENTS=Contents >> $(DOCSOURCEDIR)\$(NAME).hpj + echo COMPRESS=HIGH >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [FILES] >> $(DOCSOURCEDIR)\$(NAME).hpj + echo $(NAME).rtf >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [CONFIG] >> $(DOCSOURCEDIR)\$(NAME).hpj + echo CreateButton("Up", "&Up", "JumpId(`$(NAME).hlp', `Contents')") >> $(DOCSOURCEDIR)\$(NAME).hpj + echo BrowseButtons() >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [MAP] >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [BITMAPS] >> $(DOCSOURCEDIR)\$(NAME).hpj + +$(DOCSOURCEDIR)\$(NAME).rtf: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\$(NAME).tex $(DOCSOURCEDIR)\$(NAME).rtf -twice -winhelp + cd $(THISDIR) + +$(DOCDIR)\pdf\$(NAME).rtf: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -copy *.bmp $(DOCDIR)\pdf + -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\$(NAME).tex $(DOCDIR)\pdf\$(NAME).rtf -twice -rtf + cd $(THISDIR) + +$(DOCDIR)\html\$(NAME)\$(NAME).htm: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -mkdir $(DOCDIR)\html\$(NAME) + copy *.gif $(DOCDIR)\html\$(NAME) + -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\$(NAME).tex $(DOCDIR)\html\$(NAME)\$(NAME).htm -twice -html + -erase $(DOCDIR)\html\$(NAME)\*.con + -erase *.con + -erase $(DOCDIR)\html\$(NAME)\*.ref + cd $(THISDIR) + +$(DOCDIR)\htmlhelp\$(NAME).chm: $(DOCDIR)\html\$(NAME)\$(NAME).htm $(DOCDIR)\html\$(NAME)\$(NAME).hhp + cd $(DOCDIR)\html\$(NAME) + -hhc $(NAME).hhp + -erase $(DOCDIR)\htmlhelp\$(NAME).chm + move $(NAME).chm $(DOCDIR)\htmlhelp\$(NAME).chm + cd $(THISDIR) + +# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk +# files, renamed to htb. +# This can then be used with e.g. helpview. +# Optionally, a cached version of the .hhp file can be generated with hhp2cached. +$(DOCDIR)\htb\$(NAME).htb: $(DOCDIR)\html\$(NAME)\$(NAME).htm + cd $(DOCDIR)\html\$(NAME) + -erase $(NAME).zip $(NAME).htb + zip $(NAME).zip *.htm *.gif *.hhp *.hhc *.hhk + -mkdir $(DOCDIR)\htb + -erase $(DOCDIR)\htb\$(NAME).htb + -erase $(DOCDIR)\htb\$(NAME).htb + move $(NAME).zip $(DOCDIR)\htb\$(NAME).htb + cd $(THISDIR) + +$(DOCSOURCEDIR)\$(NAME).dvi: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -latex $(NAME) + -latex $(NAME) + -makeindx $(NAME) + -bibtex $(NAME) + -latex $(NAME) + -latex $(NAME) + cd $(THISDIR) + +$(WXDIR)\docs\ps\$(NAME).ps: $(DOCSOURCEDIR)\$(NAME).dvi + cd $(DOCSOURCEDIR) + -dvips32 -o $(NAME).ps $(NAME) + move $(NAME).ps $(WXDIR)\docs\ps\$(NAME).ps + cd $(THISDIR) + diff --git a/contrib/src/ogl/makedocs.vc b/contrib/src/ogl/makedocs.vc new file mode 100644 index 0000000000..6b971b3dbe --- /dev/null +++ b/contrib/src/ogl/makedocs.vc @@ -0,0 +1,106 @@ +# +# File: makefile.vc +WXDIR=$(WXWIN) + +NAME=ogl +DOCSOURCEDIR=$(WXDIR)\contrib\docs\latex\$(NAME) +DOCDIR=$(WXDIR)\docs +THISDIR = $(WXDIR)\contrib\src\$(NAME) +DOCSOURCES=$(DOCSOURCEDIR)\$(NAME).tex \ + $(DOCSOURCEDIR)\classes.tex $(DOCSOURCEDIR)\topics.tex + +alldocs: mkdirs html htmlhelp htb hlp pdfrtf +html: touchmanual $(DOCDIR)\html\$(NAME)\$(NAME).htm +htmlhelp: touchmanual $(DOCDIR)\htmlhelp\$(NAME).chm +htb: $(DOCDIR)\htb\$(NAME).htb +hlp: touchmanual $(DOCDIR)\winhelp\$(NAME).hlp +pdfrtf: $(DOCDIR)\pdf\$(NAME).rtf +ps: $(DOCDIR)\ps\$(NAME).ps + +touchmanual: + touch $(DOCSOURCEDIR)\$(NAME).tex + +$(DOCDIR)\winhelp\$(NAME).hlp: $(DOCSOURCEDIR)\$(NAME).rtf $(DOCSOURCEDIR)\$(NAME).hpj + cd $(DOCSOURCEDIR) + -erase $(NAME).ph + hcw /c /e $(NAME) + move $(NAME).hlp $(DOCDIR)\winhelp\$(NAME).hlp + move $(NAME).cnt $(DOCDIR)\winhelp\$(NAME).cnt + cd $(THISDIR) + +$(DOCSOURCEDIR)\$(NAME).hpj: + echo [OPTIONS] > $(DOCSOURCEDIR)\$(NAME).hpj + echo BMROOT=$(WXDIR)\contrib\docs\latex\$(NAME) >> $(DOCSOURCEDIR)\$(NAME).hpj + echo TITLE=OGL Manual >> $(DOCSOURCEDIR)\$(NAME).hpj + echo CONTENTS=Contents >> $(DOCSOURCEDIR)\$(NAME).hpj + echo COMPRESS=HIGH >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [FILES] >> $(DOCSOURCEDIR)\$(NAME).hpj + echo $(NAME).rtf >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [CONFIG] >> $(DOCSOURCEDIR)\$(NAME).hpj + echo CreateButton("Up", "&Up", "JumpId(`$(NAME).hlp', `Contents')") >> $(DOCSOURCEDIR)\$(NAME).hpj + echo BrowseButtons() >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [MAP] >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [BITMAPS] >> $(DOCSOURCEDIR)\$(NAME).hpj + +$(DOCSOURCEDIR)\$(NAME).rtf: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\$(NAME).tex $(DOCSOURCEDIR)\$(NAME).rtf -twice -winhelp + cd $(THISDIR) + +$(DOCDIR)\pdf\$(NAME).rtf: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -copy *.bmp $(DOCDIR)\pdf + -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\$(NAME).tex $(DOCDIR)\pdf\$(NAME).rtf -twice -rtf + cd $(THISDIR) + +$(DOCDIR)\html\$(NAME)\$(NAME).htm: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -mkdir $(DOCDIR)\html\$(NAME) + copy *.gif $(DOCDIR)\html\$(NAME) + -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\$(NAME).tex $(DOCDIR)\html\$(NAME)\$(NAME).htm -twice -html + -erase $(DOCDIR)\html\$(NAME)\*.con + -erase *.con + -erase $(DOCDIR)\html\$(NAME)\*.ref + cd $(THISDIR) + +$(DOCDIR)\htmlhelp\$(NAME).chm: $(DOCDIR)\html\$(NAME)\$(NAME).htm $(DOCDIR)\html\$(NAME)\$(NAME).hhp + cd $(DOCDIR)\html\$(NAME) + -hhc $(NAME).hhp + -erase $(DOCDIR)\htmlhelp\$(NAME).chm + move $(NAME).chm $(DOCDIR)\htmlhelp\$(NAME).chm + cd $(THISDIR) + +# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk +# files, renamed to htb. +# This can then be used with e.g. helpview. +# Optionally, a cached version of the .hhp file can be generated with hhp2cached. +$(DOCDIR)\htb\$(NAME).htb: $(DOCDIR)\html\$(NAME)\$(NAME).htm + cd $(DOCDIR)\html\$(NAME) + -erase $(NAME).zip $(NAME).htb + zip $(NAME).zip *.htm *.gif *.hhp *.hhc *.hhk + -mkdir $(DOCDIR)\htb + -erase $(DOCDIR)\htb\$(NAME).htb + -erase $(DOCDIR)\htb\$(NAME).htb + move $(NAME).zip $(DOCDIR)\htb\$(NAME).htb + cd $(THISDIR) + +$(DOCSOURCEDIR)\$(NAME).dvi: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -latex $(NAME) + -latex $(NAME) + -makeindx $(NAME) + -bibtex $(NAME) + -latex $(NAME) + -latex $(NAME) + cd $(THISDIR) + +$(WXDIR)\docs\ps\$(NAME).ps: $(DOCSOURCEDIR)\$(NAME).dvi + cd $(DOCSOURCEDIR) + -dvips32 -o $(NAME).ps $(NAME) + move $(NAME).ps $(WXDIR)\docs\ps\$(NAME).ps + cd $(THISDIR) + diff --git a/contrib/src/svg/makedocs.vc b/contrib/src/svg/makedocs.vc new file mode 100644 index 0000000000..d8030316e0 --- /dev/null +++ b/contrib/src/svg/makedocs.vc @@ -0,0 +1,106 @@ +# +# File: makefile.vc +WXDIR=$(WXWIN) + +NAME=svg +DOCSOURCEDIR=$(WXDIR)\contrib\docs\latex\$(NAME) +DOCDIR=$(WXDIR)\docs +THISDIR = $(WXDIR)\contrib\src\$(NAME) +DOCSOURCES=$(DOCSOURCEDIR)\dc$(NAME).tex \ + + +alldocs: mkdirs html htmlhelp htb hlp pdfrtf +html: touchmanual $(DOCDIR)\html\$(NAME)\$(NAME).htm +htmlhelp: touchmanual $(DOCDIR)\htmlhelp\$(NAME).chm +htb: $(DOCDIR)\htb\$(NAME).htb +hlp: touchmanual $(DOCDIR)\winhelp\$(NAME).hlp +pdfrtf: $(DOCDIR)\pdf\$(NAME).rtf +ps: $(DOCDIR)\ps\$(NAME).ps + +touchmanual: + touch $(DOCSOURCEDIR)\dc$(NAME).tex + +$(DOCDIR)\winhelp\$(NAME).hlp: $(DOCSOURCEDIR)\$(NAME).rtf $(DOCSOURCEDIR)\$(NAME).hpj + cd $(DOCSOURCEDIR) + -erase $(NAME).ph + hcw /c /e $(NAME) + move $(NAME).hlp $(DOCDIR)\winhelp\$(NAME).hlp + move $(NAME).cnt $(DOCDIR)\winhelp\$(NAME).cnt + cd $(THISDIR) + +$(DOCSOURCEDIR)\$(NAME).hpj: + echo [OPTIONS] > $(DOCSOURCEDIR)\$(NAME).hpj + echo BMROOT=$(WXDIR)\contrib\docs\latex\$(NAME) >> $(DOCSOURCEDIR)\$(NAME).hpj + echo TITLE=OGL Manual >> $(DOCSOURCEDIR)\$(NAME).hpj + echo CONTENTS=Contents >> $(DOCSOURCEDIR)\$(NAME).hpj + echo COMPRESS=HIGH >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [FILES] >> $(DOCSOURCEDIR)\$(NAME).hpj + echo $(NAME).rtf >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [CONFIG] >> $(DOCSOURCEDIR)\$(NAME).hpj + echo CreateButton("Up", "&Up", "JumpId(`$(NAME).hlp', `Contents')") >> $(DOCSOURCEDIR)\$(NAME).hpj + echo BrowseButtons() >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [MAP] >> $(DOCSOURCEDIR)\$(NAME).hpj + echo "" >> $(DOCSOURCEDIR)\$(NAME).hpj + echo [BITMAPS] >> $(DOCSOURCEDIR)\$(NAME).hpj + +$(DOCSOURCEDIR)\$(NAME).rtf: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\dc$(NAME).tex $(DOCSOURCEDIR)\$(NAME).rtf -twice -winhelp + cd $(THISDIR) + +$(DOCDIR)\pdf\$(NAME).rtf: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -copy *.bmp $(DOCDIR)\pdf + -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\dc$(NAME).tex $(DOCDIR)\pdf\$(NAME).rtf -twice -rtf + cd $(THISDIR) + +$(DOCDIR)\html\$(NAME)\$(NAME).htm: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -mkdir $(DOCDIR)\html\$(NAME) + copy *.gif $(DOCDIR)\html\$(NAME) + -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\dc$(NAME).tex $(DOCDIR)\html\$(NAME)\$(NAME).htm -twice -html + -erase $(DOCDIR)\html\$(NAME)\*.con + -erase *.con + -erase $(DOCDIR)\html\$(NAME)\*.ref + cd $(THISDIR) + +$(DOCDIR)\htmlhelp\$(NAME).chm: $(DOCDIR)\html\$(NAME)\$(NAME).htm $(DOCDIR)\html\$(NAME)\$(NAME).hhp + cd $(DOCDIR)\html\$(NAME) + -hhc $(NAME).hhp + -erase $(DOCDIR)\htmlhelp\$(NAME).chm + move $(NAME).chm $(DOCDIR)\htmlhelp\$(NAME).chm + cd $(THISDIR) + +# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk +# files, renamed to htb. +# This can then be used with e.g. helpview. +# Optionally, a cached version of the .hhp file can be generated with hhp2cached. +$(DOCDIR)\htb\$(NAME).htb: $(DOCDIR)\html\$(NAME)\$(NAME).htm + cd $(DOCDIR)\html\$(NAME) + -erase $(NAME).zip $(NAME).htb + zip $(NAME).zip *.htm *.gif *.hhp *.hhc *.hhk + -mkdir $(DOCDIR)\htb + -erase $(DOCDIR)\htb\$(NAME).htb + -erase $(DOCDIR)\htb\$(NAME).htb + move $(NAME).zip $(DOCDIR)\htb\$(NAME).htb + cd $(THISDIR) + +$(DOCSOURCEDIR)\$(NAME).dvi: $(DOCSOURCES) + cd $(DOCSOURCEDIR) + -latex $(NAME) + -latex $(NAME) + -makeindx $(NAME) + -bibtex $(NAME) + -latex $(NAME) + -latex $(NAME) + cd $(THISDIR) + +$(WXDIR)\docs\ps\$(NAME).ps: $(DOCSOURCEDIR)\$(NAME).dvi + cd $(DOCSOURCEDIR) + -dvips32 -o $(NAME).ps $(NAME) + move $(NAME).ps $(WXDIR)\docs\ps\$(NAME).ps + cd $(THISDIR) + -- 2.45.2