You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-cvs@tcl.apache.org by ro...@apache.org on 2005/11/10 17:16:58 UTC
svn commit: r332323 - /tcl/websh/trunk/src/win/Makefile
Author: ronnie
Date: Thu Nov 10 08:16:24 2005
New Revision: 332323
URL: http://svn.apache.org/viewcvs?rev=332323&view=rev
Log:
- added sample setup for mod_websh to install rule
Modified:
tcl/websh/trunk/src/win/Makefile
Modified: tcl/websh/trunk/src/win/Makefile
URL: http://svn.apache.org/viewcvs/tcl/websh/trunk/src/win/Makefile?rev=332323&r1=332322&r2=332323&view=diff
==============================================================================
--- tcl/websh/trunk/src/win/Makefile (original)
+++ tcl/websh/trunk/src/win/Makefile Thu Nov 10 08:16:24 2005
@@ -101,13 +101,13 @@
# install directories
bindir = $(INSTALL_PREFIX)/bin
moddir = $(INSTALL_PREFIX)/modules
-docdir = $(INSTALL_PREFIX)/docs
+docdir = $(INSTALL_PREFIX)/htdocs
cfgdir = $(INSTALL_PREFIX)/conf
# compiler, linker, and other binaries
CC = cl
CCLD = $(CC)
-INSTALL = copy /y
+INSTALL = xcopy /y
PACKAGE = web
@@ -237,7 +237,7 @@
# once with version number and once without.
# =============================================================================
-install: installdirs installtargets installdocs
+install: installdirs installtargets installdocs installsample
installtargets:
@echo.
@@ -248,21 +248,26 @@
if exist mod_websh$(VERSION).so \
$(INSTALL) mod_websh$(VERSION).so "$(moddir)"
if exist mod_websh$(VERSION).so \
- $(INSTALL) mod_websh$(VERSION).so "$(moddir)/mod_websh.so"
+ copy /Y mod_websh$(VERSION).so "$(moddir)/mod_websh.so"
if exist websh$(VERSION).exe \
$(INSTALL) websh$(VERSION).exe "$(bindir)"
if exist websh$(VERSION).exe \
- $(INSTALL) websh$(VERSION).exe "$(bindir)/websh.exe"
+ copy/Y websh$(VERSION).exe "$(bindir)/websh.exe"
if exist websh$(VERSION).dll \
$(INSTALL) websh$(VERSION).dll "$(bindir)"
if exist websh$(VERSION).dll \
- $(INSTALL) websh$(VERSION).dll "$(bindir)/websh.dll"
+ copy /Y websh$(VERSION).dll "$(bindir)/websh.dll"
installdocs:
# $(INSTALL) "$(TOP_DIR)\..\doc\html\*.html" "$(docdir)"
+installsample:
+ $(INSTALL) "$(TOP_DIR)\..\doc\mod_websh\conf\*.*" "$(cfgdir)"
+ $(INSTALL) "$(TOP_DIR)\..\doc\mod_websh\htdocs\*.*" "$(docdir)"
+ copy /Y "$(TOP_DIR)\..\doc\mod_websh\README" "$(INSTALL_PREFIX)\README.txt"
+
installdirs:
-mkdir "$(bindir)"
-mkdir "$(moddir)"
-# -mkdir "$(docdir)"
+ -mkdir "$(docdir)"
-mkdir "$(cfgdir)"
---------------------------------------------------------------------
To unsubscribe, e-mail: websh-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-cvs-help@tcl.apache.org