apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr-util Makefile.in
Date Mon, 13 May 2002 05:48:35 GMT
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 @@
   libdir=@libdir@
   includedir=@includedir@
   top_srcdir=@top_srcdir@
  +top_blddir=@top_builddir@
   
   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;
  
  
  

Mime
View raw message