]> granicus.if.org Git - apache/commitdiff
Get "make install" to work on Tru64.
authorJeff Trawick <trawick@apache.org>
Tue, 14 Nov 2000 12:00:44 +0000 (12:00 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 14 Nov 2000 12:00:44 +0000 (12:00 +0000)
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

build/special.mk

index 27a0d864ac524a69545983d8179679c15658d671..df55ff493e2ad4ede33107a6f36a1820e5fdde45 100644 (file)
@@ -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); \