>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: [EMAIL PROTECTED]
>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 <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]