You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gs...@apache.org on 2012/12/13 23:43:33 UTC
svn commit: r1421591 - /httpd/httpd/trunk/Makefile.win
Author: gsmith
Date: Thu Dec 13 22:43:31 2012
New Revision: 1421591
URL: http://svn.apache.org/viewvc?rev=1421591&view=rev
Log:
Add note about _fixshebang target in comments
Remove _install dependency, is not needed and will
cause problems.
If the cgi-bin folder does not exist yet, do nothing.
Modified:
httpd/httpd/trunk/Makefile.win
Modified: httpd/httpd/trunk/Makefile.win
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/Makefile.win?rev=1421591&r1=1421590&r2=1421591&view=diff
==============================================================================
--- httpd/httpd/trunk/Makefile.win (original)
+++ httpd/httpd/trunk/Makefile.win Thu Dec 13 22:43:31 2012
@@ -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