From: Pat Thoyts Date: Thu, 17 Jun 2004 19:45:25 +0000 (+0000) Subject: Added doc building X-Git-Tag: winsend-1-0 X-Git-Url: https://privyetmir.co.uk/gitweb.cgi?a=commitdiff_plain;p=winsend Added doc building --- diff --git a/win/makefile.vc b/win/makefile.vc index c3b1c9c..dbd60a7 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -292,6 +292,7 @@ TESTFLAGS = $(TESTFLAGS) -file $(TESTPAT) all: setup $(PROJECT) $(PROJECT): setup $(PRJLIB) +doc: setup $(DOCDIR)\winsend.html install: install-binaries install-libraries install-docs !if "$(OS)" == "Windows_NT" || "$(MSVCDIR)" == "IDE" @@ -375,6 +376,9 @@ $< !endif $< +{$(DOCDIR)}.man{$(DOCDIR)}.html:: + mpexpand html $< $@ + .SUFFIXES: .SUFFIXES:.c .rc @@ -393,10 +397,12 @@ install-binaries: 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 Installing documentation files to '$(DOC_INSTALL_DIR)' + @if exist $(DOCDIR) $(CPY) $(DOCDIR)\*.html "$(DOC_INSTALL_DIR)" >NUL #--------------------------------------------------------------------- # Clean up