jerenkrantz 02/05/12 22:48:35
Modified: . Makefile.in
Log:
Add -p option to cp when copying includes to preserve permissions (mimics
recent APR commit).
Copy the source-dir headers over (previously would only copy the ones in
the build-dir - wrong!).
Revision Changes Path
1.64 +7 -1 apr-util/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /home/cvs/apr-util/Makefile.in,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- Makefile.in 13 May 2002 05:43:50 -0000 1.63
+++ Makefile.in 13 May 2002 05:48:35 -0000 1.64
@@ -33,6 +33,7 @@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
EXPORT_FILES = $(top_srcdir)/include/*.h
@@ -50,7 +51,12 @@
if [ ! -d $(includedir) ]; then \
@APR_SOURCE_DIR@/build/mkdir.sh $(includedir); \
fi;
- cp include/*.h $(includedir)
+ cp -p $(top_srcdir)/include/*.h $(includedir)
+
+ if [ -n "$(top_blddir)" ]; then \
+ cp -p $(top_blddir)/include/*.h $(includedir);
+ fi;
+
if [ ! -d $(libdir) ]; then \
@APR_SOURCE_DIR@/build/mkdir.sh $(libdir); \
fi;