From: <tpr...@us...> - 2009-06-30 23:45:40
|
Revision: 18034 http://personalrobots.svn.sourceforge.net/personalrobots/?rev=18034&view=rev Author: tpratkanis Date: 2009-06-30 23:45:37 +0000 (Tue, 30 Jun 2009) Log Message: ----------- Change to make ugly copyIncludes.sh script use symlinks. Modified Paths: -------------- pkg/trunk/stacks/trex/trex/copyIncludes.sh Modified: pkg/trunk/stacks/trex/trex/copyIncludes.sh =================================================================== --- pkg/trunk/stacks/trex/trex/copyIncludes.sh 2009-06-30 23:45:03 UTC (rev 18033) +++ pkg/trunk/stacks/trex/trex/copyIncludes.sh 2009-06-30 23:45:37 UTC (rev 18034) @@ -34,7 +34,9 @@ for d in $DIRS; do HEADERS=`find $d -maxdepth 1 -type f -regex ".*\.hh?$"` if [ "$HEADERS" ]; then - cp -p $HEADERS $INCLUDE_DIR/$PACKAGE/ + for HEADER in $HEADERS; do + ln $HEADER $INCLUDE_DIR/$PACKAGE/`basename $HEADER` + done fi done echo "Warning, this is not the real include directory. It will be deleted and recreated by make every run. Includes should be next to .cc files." > $INCLUDE_DIR/$PACKAGE/WARNING.txt This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |