From 8d505644d946544bb193307dca24abb90fbd2941 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 21 May 2005 03:09:33 +0000 Subject: added comments, moved externals/build/doc/standardize-help.sh to here, convert-help-to-standard.sh svn path=/trunk/; revision=3049 --- scripts/convert-help-to-standard.pd | 2 -- scripts/convert-help-to-standard.sh | 35 +++++++++++++++++++++++++++++++++++ scripts/pd | 6 ++++++ 3 files changed, 41 insertions(+), 2 deletions(-) delete mode 100644 scripts/convert-help-to-standard.pd create mode 100755 scripts/convert-help-to-standard.sh diff --git a/scripts/convert-help-to-standard.pd b/scripts/convert-help-to-standard.pd deleted file mode 100644 index 13f47935..00000000 --- a/scripts/convert-help-to-standard.pd +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh - diff --git a/scripts/convert-help-to-standard.sh b/scripts/convert-help-to-standard.sh new file mode 100755 index 00000000..5dfb7b2f --- /dev/null +++ b/scripts/convert-help-to-standard.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 + diff --git a/scripts/pd b/scripts/pd index 14a5a25a..e67f6dce 100755 --- a/scripts/pd +++ b/scripts/pd @@ -14,6 +14,12 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # +# +# This is a SysV-style startup script for Pd. It has been used on Debian +# extensively but should work on other SysV platforms. +# +# .hc +# PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/pd -- cgit v1.2.1