aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--externals/build/doc/makefile33
1 files changed, 24 insertions, 9 deletions
diff --git a/externals/build/doc/makefile b/externals/build/doc/makefile
index eb82b34b..138096e9 100644
--- a/externals/build/doc/makefile
+++ b/externals/build/doc/makefile
@@ -7,10 +7,8 @@
DOC_DIR = .
all:
-# [sprinkler]'s help file is generated by ./configure
- cd ../../sprinkler && autoconf && ./configure
- cp ../../sprinkler/sprinkler-help.pd $(DOC_DIR)
-# all of the rest
+#----------------------------------------------------------------------------
+# all standard objs' help files
cp ../../OSCx/doc/*.pd \
../../aenv~/*.pd \
../../ann/examples/*.* \
@@ -40,12 +38,29 @@ all:
../../vst/*.pd \
../../zhzxh~/*.pd \
$(DOC_DIR)
+#----------------------------------------------------------------------------
+# [sprinkler]'s help file is generated by ./configure
+ cd ../../sprinkler && autoconf && ./configure
+ cp ../../sprinkler/sprinkler-help.pd $(DOC_DIR)
+#----------------------------------------------------------------------------
+# IEMlib uses its own dir and since its not maintained in CVS
+# its best not to change the objects
+ install -d -m0755 $(DOC_DIR)/iemhelp
+ cp ../../iemlib/iemhelp/*.* $(DOC_DIR)/iemhelp
+#----------------------------------------------------------------------------
# remove help files for objects that are not included due to conflicts, etc.
-# mjlib [prob] conflicts with cyclone's [prob]
- rm prob.pd
-# make files read-only so people don't mistaken change their help files
- chmod a-wx *.*
+#
+# mjlib [prob] conflicts with cyclone's [prob]
+ rm prob-help.pd
+# maxlib conflicts with cyclone
+ rm help-split.pd
+#----------------------------------------------------------------------------
+# no need to have pd patches executable
+ chmod a-x *.pd
+
+#----------------------------------------------------------------------------
# this is mildly dangerous, since it just deletes everything
clean:
- rm -f *.*
+ rm -f *.pd *.ps *.txt test.som *~
+ rm -Rf iemhelp