Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 14355 invoked by uid 6000); 10 Jun 1998 08:20:08 -0000 Received: (qmail 14217 invoked by uid 2001); 10 Jun 1998 08:20:03 -0000 Received: (qmail 11415 invoked by uid 2012); 10 Jun 1998 08:14:44 -0000 Message-Id: <19980610081444.11414.qmail@hyperreal.org> Date: 10 Jun 1998 08:14:44 -0000 From: Marc Tamsky Reply-To: mtamsky@psychobabble.com To: apbugs@hyperreal.org X-Send-Pr-Version: 3.2 Subject: other/2402: make install root=/foo/bar does not install include/apache/os.h under the root. Sender: apache-bugdb-owner@apache.org Precedence: bulk >Number: 2402 >Category: other >Synopsis: make install root=/foo/bar does not install include/apache/os.h under the root. >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Jun 10 01:20:01 PDT 1998 >Last-Modified: >Originator: mtamsky@psychobabble.com >Organization: apache >Release: 1.3.0 >Environment: Linux hermes.mag.net 2.0.34 #1 Fri May 8 16:05:57 EDT 1998 i586 unknown gcc --version 2.7.2.3 make --version GNU Make version 3.76.1 >Description: example output from make install root=/tmp/apache-root ===> [include: Installing Apache C header files] umask 022; cp ./src/include/*.h /tmp/apache-root/usr/include/apache/ umask 022; cp ./src/os/unix/os.h /usr/include/apache/ <=== [include] >How-To-Repeat: >Fix: patch the top level Makefile: $(UMASK) 022; $(CP) $(TOP)/$(SRC)/include/*.h $(root)$(includedir)/ @osdir=`grep '^OSDIR=' $(TOP)/$(SRC)/Makefile.config | sed -e 's:^OSDIR= .*/os:os:'`; \ - echo "$(UMASK) 022; $(CP) $(TOP)/$(SRC)/$${osdir}/os.h $(includedir)/"; \ + echo "$(UMASK) 022; $(CP) $(TOP)/$(SRC)/$${osdir}/os.h $(root)$(includedir)/"; \ Cheers, Marc. >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]