From: Jeff Trawick Date: Tue, 14 Nov 2000 12:00:44 +0000 (+0000) Subject: Get "make install" to work on Tru64. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d60162a921bc47a86858d656c8638713eb38f98;p=apache 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 --- 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); \