Added doc building master winsend-1-0
authorPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 17 Jun 2004 19:45:25 +0000 (19:45 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 17 Jun 2004 19:45:25 +0000 (19:45 +0000)
win/makefile.vc

index c3b1c9cc44b5b614b813f652ec3b632c3a71bbc9..dbd60a793a0bb0b75e0d9d123bd72e153ee9334c 100644 (file)
@@ -292,6 +292,7 @@ TESTFLAGS = $(TESTFLAGS) -file $(TESTPAT)
 
 all:       setup $(PROJECT)
 $(PROJECT): setup $(PRJLIB)
 
 all:       setup $(PROJECT)
 $(PROJECT): setup $(PRJLIB)
+doc:        setup $(DOCDIR)\winsend.html
 install:    install-binaries install-libraries install-docs
 
 !if "$(OS)" == "Windows_NT"  || "$(MSVCDIR)" == "IDE"
 install:    install-binaries install-libraries install-docs
 
 !if "$(OS)" == "Windows_NT"  || "$(MSVCDIR)" == "IDE"
@@ -375,6 +376,9 @@ $<
 !endif
        $<
 
 !endif
        $<
 
+{$(DOCDIR)}.man{$(DOCDIR)}.html::
+       mpexpand html $< $@
+
 .SUFFIXES:
 .SUFFIXES:.c .rc
 
 .SUFFIXES:
 .SUFFIXES:.c .rc
 
@@ -393,10 +397,12 @@ install-binaries:
 
 install-libraries:
        @echo Installing library files to '$(SCRIPT_INSTALL_DIR)'
 
 install-libraries:
        @echo Installing library files to '$(SCRIPT_INSTALL_DIR)'
-       @if exist $(LIBDIR) $(CPY) $(LIBDIR)\*.tcl $(SCRIPT_INSTALL_DIR) >NUL
+       @if exist $(LIBDIR) $(CPY) $(LIBDIR)\*.tcl "$(SCRIPT_INSTALL_DIR)" >NUL
        @echo cd "$(SCRIPT_INSTALL_DIR:\=/)" ; pkg_mkIndex . | $(TCLSH)
 
 install-docs:
        @echo cd "$(SCRIPT_INSTALL_DIR:\=/)" ; pkg_mkIndex . | $(TCLSH)
 
 install-docs:
+       @echo Installing documentation files to '$(DOC_INSTALL_DIR)'
+       @if exist $(DOCDIR) $(CPY) $(DOCDIR)\*.html "$(DOC_INSTALL_DIR)" >NUL
 
 #---------------------------------------------------------------------
 # Clean up
 
 #---------------------------------------------------------------------
 # Clean up