summaryrefslogtreecommitdiff
path: root/Makefile.win
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.win')
-rw-r--r--Makefile.win24
1 files changed, 15 insertions, 9 deletions
diff --git a/Makefile.win b/Makefile.win
index 81ba86dd8f..6751d64c9a 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -1,14 +1,18 @@
# Makefile for Windows NT and Windows 95/98/2000
# Targets are:
-# _buildr - build Apache in Release mode
-# _buildd - build Apache in Debug mode
-# installr - build and install a Release build
-# installd - build and install a Debug build
-# clean - remove (most) generated files
-# _cleanr - remove (most) files generated by a Release build
-# _cleand - remove (most) files generated by a Debug build
-# _browse - build the browse info file
+# _buildr - build Apache in Release mode
+# _buildd - build Apache in Debug mode
+# installr - build and install a Release build
+# installd - build and install a Debug build
+# clean - remove (most) generated files
+# _cleanr - remove (most) files generated by a Release build
+# _cleand - remove (most) files generated by a Debug build
+# _browse - build the browse info file
+# _fixshebang - add proper shebang lines to activate installed
+# printenv files
+# Note: _fixshebang must be run separately and is not
+# run by any of the above install* targets.
#
# The following install defaults may be customized;
#
@@ -1120,7 +1124,8 @@ BEGIN {
del .y
del .a
-_fixshebang: _install
+_fixshebang:
+!IF EXIST("$(INSTDIR)\cgi-bin")
-awk -f <<script.awk "docs/cgi-examples/printenv" > "$(INSTDIR)\cgi-bin\printenv.pl"
BEGIN {
if ( "perl -e \"print $$^X;\"" | getline perlroot ) {
@@ -1158,5 +1163,6 @@ _fixshebang: _install
f.Write c
f.Close
<<
+!ENDIF