Update of /cvsroot/pure-data/externals/build/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29384/doc
Modified Files: makefile Log Message: ported doc makefile to new build system while retaining backwards compatibility
Index: makefile =================================================================== RCS file: /cvsroot/pure-data/externals/build/doc/makefile,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** makefile 16 Nov 2005 22:34:43 -0000 1.18 --- makefile 16 Nov 2005 23:21:49 -0000 1.19 *************** *** 5,76 **** #
! DOC_DIR = .
! all: ! # add write perms to allow rewriting over all files ! chmod -R u+w $(DOC_DIR) #---------------------------------------------------------------------------- # all standard objs' help files ! install -p -m0644 \ ! ../../OSCx/doc/*.pd \ ! ../../control/*/*.pd \ ! ../../signal/*/*.pd \ ! ../../aenv~/*.pd \ ! ../../arraysize/*.pd \ ! ../../beatpipe/*.pd \ ! ../../build/*.pd \ ! ../../bbogart/chaos/tools/*.pd \ ! ../../bbogart/*/*.pd \ ! ../../creb/doc/*.pd \ ! ../../creb/doc/examples/*.pd \ ! ../../cxc/reference/*.pd \ ! ../../dfx/*/*.pd \ ! ../../ext13/doc/*.pd \ ! ../../ggee/*/*-help.pd \ ! ../../gem2pdp/*.pd \ ! ../../ff/*.pd \ ! ../../freeverb~/*.pd \ ! ../../hcs/*-help.pd \ ! ../../hcs/*/doc/*.pd \ ! ../../hcs/hid/examples/*.pd \ ! ../../hcs/pan/*-help.pd \ ! ../../iem/*/*/*-help.pd \ ! ../../markex/*.pd \ ! ../../maxlib/help/*.* \ ! ../../mjlib/doc/*.pd \ ! ../../motex/*.pd \ ! ../../nusmuk/line3/*.pd\ ! ../../pdogg/*/*.pd \ ! ../../plugin~/*.pd \ ! ../../pmpd/help/*.pd\ ! ../../rhythm_estimator/*.p? \ ! ../../sprinkler/sprinkler-help.pd \ ! ../../susloop~/*.pd \ ! ../../svf~/*.pd \ ! ../../vbap/*.pd \ ! ../../vst/*.pd \ ! ../../zhzxh~/*.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 ! 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 -m0644 ../../zexy/zexy.pd $(DOC_DIR) ! install -p -m0644 ../../zexy/examples/*.* $(DOC_DIR)/zexy #---------------------------------------------------------------------------- # iemmatrix uses its own dir ! install -d -m0755 $(DOC_DIR)/iemmatrix ! install -p -m0644 ../../iem/iemmatrix/doc/*.pd $(DOC_DIR)/iemmatrix
--- 5,90 ---- #
! SRC_ROOT_DIR := $(shell pwd)/../../.. ! INSTALL_PREFIX = .
! all: install ! ! include ../Makefile.buildlayout ! ! # this is here to retain compatibility to the way that this makefile copied ! # files before it was added to the unified build system ! HELP_DEST = . ! ! install: #---------------------------------------------------------------------------- # all standard objs' help files ! # it had to be broken up because the list is soo long ! install -p \ ! $(EXTERNALS_SRC)/OSCx/doc/*.pd \ ! $(EXTERNALS_SRC)/control/*/*.pd \ ! $(EXTERNALS_SRC)/signal/*/*.pd \ ! $(EXTERNALS_SRC)/aenv~/*.pd \ ! $(EXTERNALS_SRC)/arraysize/*.pd \ ! $(EXTERNALS_SRC)/beatpipe/*.pd \ ! $(EXTERNALS_SRC)/build/*.pd \ ! $(EXTERNALS_SRC)/bbogart/chaos/tools/*.pd \ ! $(EXTERNALS_SRC)/bbogart/*/*.pd \ ! $(EXTERNALS_SRC)/creb/doc/*.pd \ ! $(HELP_DEST) ! install -p \ ! $(EXTERNALS_SRC)/creb/doc/examples/*.pd \ ! $(EXTERNALS_SRC)/cxc/reference/*.pd \ ! $(EXTERNALS_SRC)/dfx/*/*.pd \ ! $(EXTERNALS_SRC)/ext13/doc/*.pd \ ! $(EXTERNALS_SRC)/ggee/*/*-help.pd \ ! $(EXTERNALS_SRC)/gem2pdp/*.pd \ ! $(EXTERNALS_SRC)/ff/*.pd \ ! $(EXTERNALS_SRC)/freeverb~/*.pd \ ! $(EXTERNALS_SRC)/hcs/*-help.pd \ ! $(HELP_DEST) ! install -p \ ! $(EXTERNALS_SRC)/hcs/*/doc/*.pd \ ! $(EXTERNALS_SRC)/hcs/hid/examples/*.pd \ ! $(EXTERNALS_SRC)/hcs/pan/*-help.pd \ ! $(EXTERNALS_SRC)/iem/*/*/*-help.pd \ ! $(EXTERNALS_SRC)/markex/*.pd \ ! $(EXTERNALS_SRC)/maxlib/help/*.* \ ! $(EXTERNALS_SRC)/mjlib/doc/*.pd \ ! $(EXTERNALS_SRC)/motex/*.pd \ ! $(EXTERNALS_SRC)/nusmuk/line3/*.pd\ ! $(HELP_DEST) ! install -p \ ! $(EXTERNALS_SRC)/pdogg/*/*.pd \ ! $(EXTERNALS_SRC)/plugin~/*.pd \ ! $(EXTERNALS_SRC)/pmpd/help/*.pd\ ! $(EXTERNALS_SRC)/rhythm_estimator/*.p? \ ! $(EXTERNALS_SRC)/sprinkler/sprinkler-help.pd \ ! $(EXTERNALS_SRC)/susloop~/*.pd \ ! $(EXTERNALS_SRC)/svf~/*.pd \ ! $(EXTERNALS_SRC)/vbap/*.pd \ ! $(EXTERNALS_SRC)/vst/*.pd \ ! $(EXTERNALS_SRC)/zhzxh~/*.pd \ ! $(HELP_DEST) #---------------------------------------------------------------------------- # IEMlib uses its own dir and since its not maintained in CVS # its best not to change the objects ! install -d $(HELP_DEST)/iemhelp ! install -p $(EXTERNALS_SRC)/iemlib/iemhelp/*.* $(HELP_DEST)/iemhelp #---------------------------------------------------------------------------- # PMDP examples ! install -d $(HELP_DEST)/pmpd # pmpd exemples files has to go in an other directory ! install -p $(EXTERNALS_SRC)/pmpd/exemples/*.pd $(HELP_DEST)/pmpd # pmpd documentation ! cp -Rp $(EXTERNALS_SRC)/pmpd/doc $(HELP_DEST)/pmpd/doc #---------------------------------------------------------------------------- # zexy uses its own dir ! install -d $(HELP_DEST)/zexy ! install -p $(EXTERNALS_SRC)/zexy/zexy.pd $(HELP_DEST) ! install -p $(EXTERNALS_SRC)/zexy/examples/*.* $(HELP_DEST)/zexy #---------------------------------------------------------------------------- # iemmatrix uses its own dir ! install -d $(HELP_DEST)/iemmatrix ! install -p $(EXTERNALS_SRC)/iem/iemmatrix/doc/*.pd $(HELP_DEST)/iemmatrix
*************** *** 79,85 **** # # mjlib [prob] conflicts with cyclone's [prob] ! rm prob-help.pd # maxlib conflicts with cyclone ! rm split-help.pd
--- 93,99 ---- # # mjlib [prob] conflicts with cyclone's [prob] ! rm $(HELP_DEST)/prob-help.pd # maxlib conflicts with cyclone ! rm $(HELP_DEST)/split-help.pd
*************** *** 87,91 **** # this is mildly dangerous, since it just deletes everything clean: ! rm -f -- *.pd *.ps *.txt test.som *~ ! rm -Rf -- iemhelp zexy pmpd iemmatrix
--- 101,106 ---- # this is mildly dangerous, since it just deletes everything clean: ! cd $(HELP_DEST) && rm -f -- *.pd *.ps *.txt test.som *~ ! rm -Rf -- $(HELP_DEST)/iemhelp $(HELP_DEST)/zexy \ ! $(HELP_DEST)/pmpd $(HELP_DEST)/iemmatrix