summaryrefslogtreecommitdiff
path: root/build/special.mk
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2000-11-14 12:00:44 +0000
committerJeff Trawick <trawick@apache.org>2000-11-14 12:00:44 +0000
commitf6bdcb2e0aced4f2030c75159b26c5a370cb14bf (patch)
treea52f627e3ff9626fb17ed71e68d3d0f26c8f749e /build/special.mk
parent59f2a0c5dcbdb2caffdcbb634c94513c0f5bee9b (diff)
downloadhttpd-f6bdcb2e0aced4f2030c75159b26c5a370cb14bf.tar.gz
Get "make install" to work on Tru64.
With Tru64, make picks up a bad status from the child shell process when it evaluates the "`echo ($static) | grep 'mod_so'` (see below), causing make to bail out. But that grep should always fail when "make install" runs in modules/extra and unless we have mod_so it will fail when "make install" runs in modules/standard. The work-around is to explicitly ignore the exit status from the grep. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86959 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/special.mk')
-rw-r--r--build/special.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/special.mk b/build/special.mk
index 27a0d864ac..df55ff493e 100644
--- a/build/special.mk
+++ b/build/special.mk
@@ -61,8 +61,9 @@ targets = $(static) $(shared)
install_targets = install-modules
install-modules:
+ -@has_mod_so=`echo $(static) | grep 'mod_so'`
@shared='$(shared)'; \
- if [ "x`echo $(static) | grep 'mod_so'`" != "x" ]; then \
+ if [ "x$(has_mod_so)" != "x" ]; then \
$(MKINSTALLDIRS) $(libexecdir); \
for i in $$shared; do \
$(SH_LIBTOOL) --mode=install cp $$i $(libexecdir); \