aboutsummaryrefslogtreecommitdiff
path: root/externals/build/doc/standardize-help.sh
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-04-26 04:41:12 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-04-26 04:41:12 +0000
commit93dc8e09f7c76f76e4d5e35a74ce6042aa161ca9 (patch)
tree1007ebb9639ff316bb8ee58e3da3f07292f36d9c /externals/build/doc/standardize-help.sh
parent08c72e91601c58af13dae0ba9b4ed0eb93851634 (diff)
make clean target more specific; added zexy help files here since most of zexy is now built by externals/build/*; added pmpd examples in their own directory
svn path=/trunk/; revision=2820
Diffstat (limited to 'externals/build/doc/standardize-help.sh')
-rwxr-xr-xexternals/build/doc/standardize-help.sh35
1 files changed, 35 insertions, 0 deletions
diff --git a/externals/build/doc/standardize-help.sh b/externals/build/doc/standardize-help.sh
new file mode 100755
index 00000000..5dfb7b2f
--- /dev/null
+++ b/externals/build/doc/standardize-help.sh
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+# this script renames help patches that don't follow the OBJECTNAME-help.pd
+# format that has become the standard.
+#
+# for more info on the standard, check this thread:
+# http://lists.puredata.info/pipermail/pd-dev/2003-09/001519.html
+#
+# this script is a hack to take care of this until all of the files get
+# renamed by their respective maintainers.
+
+for helpfile in help-*.pd ; do
+ mv "$helpfile" "`echo $helpfile | sed 's/^help\-\(.*\)\.pd$/\1-help.pd/'`"
+# echo "SWAP $helpfile `echo $helpfile | sed 's/^help\-\(.*\)\.pd$/\1-help.pd/'`"
+done
+
+# this isn't used yet
+#NON_STANDARD_HELP_FILES=`ls -1 *.pd | \
+# grep -v '^.*-help.pd$' | \
+# grep -v '^help-.*.pd$' | \
+# grep -v '^externals.pd$' | \
+# grep -v 'test' | \
+# grep -v 'example' | \
+# grep -v 'demo' | \
+# grep -v 'x_all_guis' | \
+# grep -v 'all_about_' | \
+# grep -v 'pddp' | \
+# grep -v 'readme' | \
+# grep -v '^.*-list.pd$' | \
+# grep -v '^.*-joystick.pd$'`
+
+#for helpfile in $NON_STANDARD_HELP_FILES ; do
+# echo NONE $helpfile
+#done
+