Update of /cvsroot/pure-data/externals/build/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14292
Modified Files: makefile Added Files: standardize-help.sh Log Message: 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
Index: makefile =================================================================== RCS file: /cvsroot/pure-data/externals/build/doc/makefile,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** makefile 19 Apr 2005 20:34:10 -0000 1.11 --- makefile 26 Apr 2005 04:41:12 -0000 1.12 *************** *** 10,14 **** #---------------------------------------------------------------------------- # all standard objs' help files ! cp -p ../../OSCx/doc/*.pd \ ../../control/*/*.pd \ ../../signal/*/*.pd \ --- 10,15 ---- #---------------------------------------------------------------------------- # all standard objs' help files ! install -p -m0644 \ ! ../../OSCx/doc/*.pd \ ../../control/*/*.pd \ ../../signal/*/*.pd \ *************** *** 57,69 **** # its best not to change the objects install -d -m0755 $(DOC_DIR)/iemhelp ! cp -p ../../iemlib/iemhelp/*.* $(DOC_DIR)/iemhelp #---------------------------------------------------------------------------- # pmpd exemples files has to go in an other directory ! cp -Rp ../../pmpd/exemples $(DOC_DIR)/pmpd # pmpd documentation cp -Rp ../../pmpd/doc $(DOC_DIR)/pmpd/doc #---------------------------------------------------------------------------- # zexy uses its own dir ! cp -Rp ../../zexy/examples $(DOC_DIR)/zexy #---------------------------------------------------------------------------- # remove help files for objects that are not included due to conflicts, etc. --- 58,76 ---- # its best not to change the objects install -d -m0755 $(DOC_DIR)/iemhelp ! install -p -m0644 ../../iemlib/iemhelp/*.* $(DOC_DIR)/iemhelp #---------------------------------------------------------------------------- + # PMDP examples + install -d -m0755 $(DOC_DIR)/pmpd # pmpd exemples files has to go in an other directory ! install -p -m0644 ../../pmpd/exemples/*.pd $(DOC_DIR)/pmpd # pmpd documentation cp -Rp ../../pmpd/doc $(DOC_DIR)/pmpd/doc #---------------------------------------------------------------------------- # zexy uses its own dir ! install -d -m0755 $(DOC_DIR)/zexy ! install -p -m0444 ../../zexy/zexy.pd $(DOC_DIR) ! install -p -m0644 ../../zexy/examples/*.* $(DOC_DIR)/zexy ! ! #---------------------------------------------------------------------------- # remove help files for objects that are not included due to conflicts, etc. *************** *** 75,80 **** #---------------------------------------------------------------------------- # no need to have pd patches executable or writable ! chmod a-x *.pd ! chmod -R a-w *
--- 82,87 ---- #---------------------------------------------------------------------------- # no need to have pd patches executable or writable ! chmod a-x *.pd */*.pd ! chmod a-w ????*/*.* *.pd *.txt
--- NEW FILE: standardize-help.sh --- #!/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