[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-commits] Commit Complete
Commit by : alex
Repository : xara
Revision : 1278
Date : Thu Jun 8 22:02:47 BST 2006
Changed paths:
A /Trunk/XaraLX/Scripts/removeincludes.sh
Script to zap include files
Diff:
Index: Trunk/XaraLX/Scripts/removeincludes.sh
===================================================================
--- Trunk/XaraLX/Scripts/removeincludes.sh (revision 0)
+++ Trunk/XaraLX/Scripts/removeincludes.sh (revision 1278)
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+TMPFILE=/tmp/rem.$$
+TMPFILE2=/tmp/rem2.$$
+( for i in `(Scripts/gendeps.pl -t camtypes.h.gch debug/PreComp/.deps/*.Po | awk -F: '{print $2}') | tee $TMPFILE ` ; do echo --removeinclude $i ; done ) > $TMPFILE2
+
+DIRS="GDraw Kernel PreComp tools wxOil wxXtra"
+(cat $TMPFILE2 ; find $DIRS '(' -name '*.cpp' -or -name '*.c' -or -name '*.h' ')' `cat $TMPFILE | perl -pe 's/\s+$//g;s/\s+/\ -and \-not \-name /g'` | egrep -v "wxOil/(xrc/)?(resources|winresources).cpp" ) | xargs Scripts/normalise.pl
+rm $TMPFILE
+rm $TMPFILE2
+
+
+
Property changes on: Trunk/XaraLX/Scripts/removeincludes.sh
___________________________________________________________________
Name: svn:executable
+ *
Xara