]> granicus.if.org Git - apache/commitdiff
Add note about _fixshebang target in comments
authorGregg Lewis Smith <gsmith@apache.org>
Thu, 13 Dec 2012 22:43:31 +0000 (22:43 +0000)
committerGregg Lewis Smith <gsmith@apache.org>
Thu, 13 Dec 2012 22:43:31 +0000 (22:43 +0000)
Remove _install dependency, is not needed and will
cause problems.

If the cgi-bin folder does not exist yet, do nothing.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421591 13f79535-47bb-0310-9956-ffa450edef68

Makefile.win

index 81ba86dd8fc62fd0e93500e3ef9722712bfa7845..6751d64c9a240525bfa89e221bbfa3309ddf71d8 100644 (file)
@@ -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