[m-rev.] diff: avoid reconfiguration of libatomic_ops

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Dec 20 00:44:00 AEDT 2010


Branches: main

scripts/prepare_install_dir.in:
 	Attempt to preserve file attributes in the boehm_gc/libatomic_ops
 	directories.  This can prevent autoconf needing to re-invoked.

 	Use "cp -R" rather than "cp -r".  The latter is not as portable.

Julien.

Index: scripts/prepare_install_dir.in
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/scripts/prepare_install_dir.in,v
retrieving revision 1.4
diff -u -r1.4 prepare_install_dir.in
--- scripts/prepare_install_dir.in	30 Sep 2010 07:23:34 -0000	1.4
+++ scripts/prepare_install_dir.in	19 Dec 2010 13:35:37 -0000
@@ -55,9 +55,9 @@
  cp boehm_gc/include/private/*.[ch] ${installdir}/boehm_gc/include/private
  cp boehm_gc/configure_atomic_ops.sh ${installdir}/boehm_gc
  cp boehm_gc/build_atomic_ops.sh* ${installdir}/boehm_gc
-cp -r boehm_gc/libatomic_ops-*[0-9] ${installdir}/boehm_gc
-cp -r boehm_gc/libatomic_ops ${installdir}/boehm_gc
-cp -r boehm_gc/extra ${installdir}/boehm_gc
+cp -Rp boehm_gc/libatomic_ops-*[0-9] ${installdir}/boehm_gc
+cp -Rp boehm_gc/libatomic_ops ${installdir}/boehm_gc
+cp -Rp boehm_gc/extra ${installdir}/boehm_gc
  rm -fr ${installdir}/boehm_gc/libatomic_ops-*[0-9]/src/*.o
  rm -fr ${installdir}/boehm_gc/libatomic_ops-*[0-9]/src/*.a
  mkdir ${installdir}/runtime

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list