Author: cjcollier
Date: 2006-10-05 17:44:26 -0400 (Thu, 05 Oct 2006)
New Revision: 66321

Added:
   trunk/tao/CodingStandards
   trunk/tao/clean.sh
Modified:
   trunk/tao/ChangeLog
Log:
2006-10-05  C.J. Collier  <[EMAIL PROTECTED]>
        * clean.sh
        - created - supposedly reverses make.sh
        * CodingStandards
        - A place for proposed coding standards (patch formats, etc)



Modified: trunk/tao/ChangeLog
===================================================================
--- trunk/tao/ChangeLog 2006-10-05 21:23:50 UTC (rev 66320)
+++ trunk/tao/ChangeLog 2006-10-05 21:44:26 UTC (rev 66321)
@@ -1,3 +1,9 @@
+2006-10-05  C.J. Collier  <[EMAIL PROTECTED]>
+       * clean.sh
+       - created - supposedly reverses make.sh
+       * CodingStandards
+       - A place for proposed coding standards (patch formats, etc)
+
 2006-09-28  C.J. Collier  <[EMAIL PROTECTED]>
        * make.sh
        - cleared up directory changing stuff

Added: trunk/tao/CodingStandards
===================================================================
--- trunk/tao/CodingStandards   2006-10-05 21:23:50 UTC (rev 66320)
+++ trunk/tao/CodingStandards   2006-10-05 21:44:26 UTC (rev 66321)
@@ -0,0 +1,16 @@
+Hey folks,
+
+Please propose standards here.
+
+Proposition: Patches should be submitted in either Unified or Context
+diff format.  These diffs can be generated and consumed by many tools.
+On unix-like operating systems, a unified diff of two directories
+(presumably, the changed directory and the head of svn) can be created
+thus:
+
+
+$ ls
+buildDiff.sh  tao.autotools  tao-buildchange  tao-head
+tao_2_0       tao.build      tao-cjcollier
+
+$ diff -x ".svn" -ru tao-head tao-cjcollier > cjcollier.patch

Added: trunk/tao/clean.sh
===================================================================
--- trunk/tao/clean.sh  2006-10-05 21:23:50 UTC (rev 66320)
+++ trunk/tao/clean.sh  2006-10-05 21:44:26 UTC (rev 66321)
@@ -0,0 +1,63 @@
+#!/bin/sh
+# Builds the Tao Framework using both Prebuild and autotools 
+
+configure_args=$1
+
+# clean autotools Project Files 
+#other/Prebuild/prebuild /target autotools /file prebuild.xml /clean
+other/Prebuild/prebuild /file prebuild.xml /clean
+
+# Build Solutions Using autotools 
+PACKAGES="Tao.DevIl
+          Tao.GlBindGen
+         Tao.Ode
+         Tao.PhysFs
+         Tao.Sdl
+         Tao.Lua
+         Tao.OpenGl
+         Tao.OpenAl
+         "
+
+# clean up dist files
+rm -rf dist
+
+ROOTDIR=$PWD
+
+cd $ROOTDIR/src
+
+for thedir in $PACKAGES ;
+do
+  # If the configure.ac file exists, clean
+  if [ -f $thedir/configure.ac ]
+  then
+    pushd $thedir &&
+    autoreconf -i -s &&
+    ./configure $configure_args &&
+    make distclean
+    popd
+  fi
+done
+
+cd $ROOTDIR
+
+# Clean up the left-overs
+for i in \
+    Include.am \
+    autom4te.cache \
+    aclocal.m4 \
+    config.log \
+    config.status
+    config.guess \
+    configure \
+    config.sub \
+    configure.ac \
+    Makefile \
+    Makefile.am \
+    install-sh \
+    missing \
+    '*.pc' \
+    '*.pc.in' ; do
+  find ./ -name $i -exec rm -rf \{\} \;
+done
+
+


Property changes on: trunk/tao/clean.sh
___________________________________________________________________
Name: svn:executable
   + *

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to