summaryrefslogtreecommitdiff
path: root/build/NWGNUenvironment.inc
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2007-01-31 23:55:44 +0000
committerBradley Nicholes <bnicholes@apache.org>2007-01-31 23:55:44 +0000
commitba4156cadd9cdd03d0c94d8a8199f200f327ef6c (patch)
tree681f06395819852a7449eee68243f80f34487f76 /build/NWGNUenvironment.inc
parent6e9dfd0b387f9011fcacd710d76a9949b875e98d (diff)
downloadhttpd-ba4156cadd9cdd03d0c94d8a8199f200f327ef6c.tar.gz
Implement a BASEDIR build environment variable to allow the NetWare build to relocate the install files
Submitted by: Guenter Knauf <fuankg apache org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@502051 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/NWGNUenvironment.inc')
-rw-r--r--build/NWGNUenvironment.inc30
1 files changed, 17 insertions, 13 deletions
diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc
index ea3ded6b12..b894d1f732 100644
--- a/build/NWGNUenvironment.inc
+++ b/build/NWGNUenvironment.inc
@@ -205,6 +205,10 @@ INSTALL = $(AP_WORK)\Dist
INSTDIRS = $(AP_WORK)\Dist
endif
+ifndef BASEDIR
+BASEDIR = Apache2
+endif
+
# Add support for building IPV6 alongside
ifneq "$(IPV6)" ""
DEFINES += -DNW_BUILD_IPV6
@@ -226,21 +230,21 @@ endif
INSTDEVDIRS := \
$(INSTDIRS) \
- $(INSTALL)\Apache2\include \
- $(INSTALL)\Apache2\lib \
+ $(INSTALL)\$(BASEDIR)\include \
+ $(INSTALL)\$(BASEDIR)\lib \
INSTDIRS += \
- $(INSTALL)\Apache2 \
- $(INSTALL)\Apache2\bin \
- $(INSTALL)\Apache2\cgi-bin \
- $(INSTALL)\Apache2\conf \
- $(INSTALL)\Apache2\error \
- $(INSTALL)\Apache2\htdocs \
- $(INSTALL)\Apache2\icons \
- $(INSTALL)\Apache2\logs \
- $(INSTALL)\Apache2\man \
- $(INSTALL)\Apache2\manual \
- $(INSTALL)\Apache2\modules \
+ $(INSTALL)\$(BASEDIR) \
+ $(INSTALL)\$(BASEDIR)\bin \
+ $(INSTALL)\$(BASEDIR)\cgi-bin \
+ $(INSTALL)\$(BASEDIR)\conf \
+ $(INSTALL)\$(BASEDIR)\error \
+ $(INSTALL)\$(BASEDIR)\htdocs \
+ $(INSTALL)\$(BASEDIR)\icons \
+ $(INSTALL)\$(BASEDIR)\logs \
+ $(INSTALL)\$(BASEDIR)\man \
+ $(INSTALL)\$(BASEDIR)\manual \
+ $(INSTALL)\$(BASEDIR)\modules \
#
# Declare Command and tool macros here