]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/tex2rtf/src/makefile.vc
Added wxMouseCaptureChangedEvent. Added some missing Capture related methods.
[wxWidgets.git] / utils / tex2rtf / src / makefile.vc
index a3bf6283309d377ba80829f0629f044d737b81f2..5732870d0ffe6052393fee0d5ef96920ad71366c 100644 (file)
@@ -23,7 +23,7 @@ all:    tex2rtf.exe
 
 wx:
         cd $(WXDIR)\src\msw
 
 wx:
         cd $(WXDIR)\src\msw
-        nmake -f makefile.nt
+        nmake -f makefile.vc
         cd $(TEX2RTFDIR)\src
 
 $(PROGRAM).exe:      $(WXLIB) $(OBJECTS) $(PROGRAM).res
         cd $(TEX2RTFDIR)\src
 
 $(PROGRAM).exe:      $(WXLIB) $(OBJECTS) $(PROGRAM).res
@@ -91,6 +91,8 @@ cleanall:
 DOCSOURCES=$(LOCALDOCDIR)\tex2rtf.tex
 
 html: $(DOCDIR)\html\tex2rtf\t2rtf.htm
 DOCSOURCES=$(LOCALDOCDIR)\tex2rtf.tex
 
 html: $(DOCDIR)\html\tex2rtf\t2rtf.htm
+htmlhelp: $(DOCDIR)\htmlhelp\tex2rtf.chm
+htb:   $(DOCDIR)\htb\tex2rtf.htb
 hlp: $(DOCDIR)\winhelp\tex2rtf.hlp
 pdfrtf: $(DOCDIR)\pdf\tex2rtf.rtf
 ps: $(WXDIR)\docs\ps\tex2rtf.ps
 hlp: $(DOCDIR)\winhelp\tex2rtf.hlp
 pdfrtf: $(DOCDIR)\pdf\tex2rtf.rtf
 ps: $(WXDIR)\docs\ps\tex2rtf.ps
@@ -110,18 +112,38 @@ $(LOCALDOCDIR)\tex2rtf.rtf: $(DOCSOURCES)
 
 $(DOCDIR)\pdf\tex2rtf.rtf: $(DOCSOURCES)
         cd $(LOCALDOCDIR)
 
 $(DOCDIR)\pdf\tex2rtf.rtf: $(DOCSOURCES)
         cd $(LOCALDOCDIR)
-        -copy *.bmp *.wmf $(DOCDIR)\pdf
+        -copy *.wmf $(DOCDIR)\pdf
+        -copy *.bmp $(DOCDIR)\pdf
         -start /w tex2rtf $(LOCALDOCDIR)\tex2rtf.tex $(DOCDIR)\pdf\tex2rtf.rtf -twice -rtf
         cd $(THISDIR)
 
 $(DOCDIR)\html\tex2rtf\t2rtf.htm:         $(DOCSOURCES)
         cd $(LOCALDOCDIR)
         -mkdir $(DOCDIR)\html\tex2rtf
         -start /w tex2rtf $(LOCALDOCDIR)\tex2rtf.tex $(DOCDIR)\pdf\tex2rtf.rtf -twice -rtf
         cd $(THISDIR)
 
 $(DOCDIR)\html\tex2rtf\t2rtf.htm:         $(DOCSOURCES)
         cd $(LOCALDOCDIR)
         -mkdir $(DOCDIR)\html\tex2rtf
+        -copy *.gif $(DOCDIR)\html\tex2rtf
         -start /w tex2rtf $(LOCALDOCDIR)\tex2rtf.tex $(DOCDIR)\html\tex2rtf\t2rtf.htm -twice -html
         -erase $(DOCDIR)\html\tex2rtf\*.con
         -erase $(DOCDIR)\html\tex2rtf\*.ref
         cd $(THISDIR)
 
         -start /w tex2rtf $(LOCALDOCDIR)\tex2rtf.tex $(DOCDIR)\html\tex2rtf\t2rtf.htm -twice -html
         -erase $(DOCDIR)\html\tex2rtf\*.con
         -erase $(DOCDIR)\html\tex2rtf\*.ref
         cd $(THISDIR)
 
+$(DOCDIR)\htmlhelp\tex2rtf.chm : $(DOCDIR)\html\tex2rtf\t2rtf.htm $(DOCDIR)\html\tex2rtf\t2rtf.hhp
+       cd $(DOCDIR)\html\tex2rtf
+       -hhc t2rtf.hhp
+    move t2rtf.chm $(DOCDIR)\htmlhelp\tex2rtf.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\tex2rtf.htb: $(DOCDIR)\html\tex2rtf\t2rtf.htm
+       cd $(DOCDIR)\html\tex2rtf
+    -erase tex2rtf.zip tex2rtf.htb
+    zip tex2rtf.zip *.htm *.gif *.hhp *.hhc *.hhk
+    -mkdir $(DOCDIR)\htb
+    move tex2rtf.zip $(DOCDIR)\htb\tex2rtf.htb
+    cd $(THISDIR)
+
 $(LOCALDOCDIR)\tex2rtf.dvi:    $(DOCSOURCES)
        cd $(LOCALDOCDIR)
         -latex tex2rtf
 $(LOCALDOCDIR)\tex2rtf.dvi:    $(DOCSOURCES)
        cd $(LOCALDOCDIR)
         -latex tex2rtf