|
From: <to...@us...> - 2002-11-17 13:04:00
|
Update of /cvsroot/ro-oslib/CVSROOT
In directory usw-pr-cvs1:/tmp/cvs-serv26838/CVSROOT
Modified Files:
commitinfo
Added Files:
stripdependencies
Log Message:
Auto-strip dependency lines from makefiles before checkout
--- NEW FILE: stripdependencies ---
!#/bin/sh
#
# stripdependencies TV 20021117
# strips dynamic dependencies from MakeFiles before checkout
shift
for X in "$@"
do
awk '{print} /^\#\ [Dd]ynamic/ {exit 0;}' <$X >tmp$$ && mv -f tmp$$ $X
done
exit 0
Index: commitinfo
===================================================================
RCS file: /cvsroot/ro-oslib/CVSROOT/commitinfo,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** commitinfo 15 Apr 2002 19:11:39 -0000 1.1
--- commitinfo 17 Nov 2002 13:03:57 -0000 1.2
***************
*** 14,15 ****
--- 14,17 ----
# If the name "ALL" appears as a regular expression it is always used
# in addition to the first matching regex or "DEFAULT".
+
+ .*/Makefile(,fe1)? $CVSROOT/CVSROOT/stripdependencies
|