[PD-cvs] doc Makefile,1.17,1.18

Hans-Christoph Steiner eighthave at users.sourceforge.net
Fri Apr 7 03:23:17 CEST 2006


Update of /cvsroot/pure-data/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11673

Modified Files:
	Makefile 
Log Message:
added clean targets, need more; added DOC_TARGETS list for install and clean targets; added more tutorials and media section

Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/doc/Makefile,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** Makefile	30 Dec 2005 06:49:23 -0000	1.17
--- Makefile	7 Apr 2006 01:23:12 -0000	1.18
***************
*** 27,39 ****
  #==============================================================================#
  
  # clean up after everything is installed
  final_setup:
  	chmod -R ugo-w $(pddocdir)
  
! install: externals-howto_install pd_fileformat_install pd-msg_install 
! install: pddp_install tutorials_install
  	@echo " "
  	@echo "doc install succeeded!"
  
  #==============================================================================#
  #
--- 27,42 ----
  #==============================================================================#
  
+ DOC_TARGETS = externals-howto media pd_fileformat pd-msg pddp tutorials
+ 
  # clean up after everything is installed
  final_setup:
  	chmod -R ugo-w $(pddocdir)
  
! install: $(objectsdir) $(helpdir) $(manualsdir) $(examplesdir) \
! $(patsubst %, %_install,$(DOC_TARGETS))
  	@echo " "
  	@echo "doc install succeeded!"
  
+ 
  #==============================================================================#
  #
***************
*** 42,45 ****
--- 45,64 ----
  #==============================================================================#
  
+ 
+ #------------------------------------------------------------------------------#
+ # TEMPLATE
+ TEMPLATE_NAME = template
+ template_install: $(manualsdir)
+ 	install -d $(manualsdir)/$(TEMPLATE_NAME)
+ 	install -p $(doc_src)/template/*.* \
+ 		$(manualsdir)/$(TEMPLATE_NAME) 
+ 
+ template_clean:
+ 	rm -f -- $(manualsdir)/$(TEMPLATE_NAME)/*.*
+ 	rmdir --	$(manualsdir)/$(TEMPLATE_NAME) 
+ 
+ 
+ 
+ 
  #------------------------------------------------------------------------------#
  # EXTERNALS-HOWTO
***************
*** 72,75 ****
--- 91,111 ----
  		$(manualsdir)/$(EXTERNALS-HOWTO_NAME)/node10.html
  
+ externals-howto_clean:
+ 
+ 
+ 
+ 
+ #------------------------------------------------------------------------------#
+ # MEDIA
+ MEDIA_NAME = media
+ media_install: $(manualsdir)
+ 	install -d $(manualsdir)/$(MEDIA_NAME)
+ 	install -p $(doc_src)/media/*.* \
+ 		$(manualsdir)/$(MEDIA_NAME) 
+ 
+ media_clean:
+ 	rm -f -- $(manualsdir)/$(MEDIA_NAME)/*.*
+ 	rmdir --	$(manualsdir)/$(MEDIA_NAME) 
+ 
  
  #------------------------------------------------------------------------------#
***************
*** 87,90 ****
--- 123,127 ----
  	done
  
+ pd-msg_clean:
  
  
***************
*** 97,100 ****
--- 134,139 ----
  		$(manualsdir)/$(PD_FILEFORMAT_NAME)/Pd_File_Format.html
  
+ pd_fileformat_clean:
+ 
  
  #------------------------------------------------------------------------------#
***************
*** 105,108 ****
--- 144,150 ----
  	install -p $(doc_src)/pddp/keyboard_fun.txt $(helpdir)
  
+ pddp_clean:
+ 
+ 
  
  
***************
*** 115,121 ****
  # playnow
  	install -d $(manualsdir)/PlayNow
! 	install -p $(doc_src)/tutorials/playnow/*.pd $(manualsdir)/PlayNow
! # these aren't needed yet <hans at at.or.at>
! #	install -p $(doc_src)/tutorials/playnow/*.mid $(manualsdir)/PlayNow
  
  
--- 157,192 ----
  # playnow
  	install -d $(manualsdir)/PlayNow
! 	install -p $(doc_src)/tutorials/playnow/*.* $(manualsdir)/PlayNow
! # intro
! 	install -d $(manualsdir)/Intro
! 	install -p $(doc_src)/tutorials/intro/*.* $(manualsdir)/Intro
! # sound
! 	install -d $(manualsdir)/Sound
! 	install -p $(doc_src)/tutorials/sound/*.* $(manualsdir)/Sound
! # visual
! 	install -d $(manualsdir)/Visual
! 	install -p $(doc_src)/tutorials/visual/*.* $(manualsdir)/Visual
! # networking
! 	install -d $(manualsdir)/Networking
! 	install -p $(doc_src)/tutorials/networking/*.* $(manualsdir)/Networking
! # physical
! 	install -d $(manualsdir)/Physical
! 	install -p $(doc_src)/tutorials/physical/*.* $(manualsdir)/Physical
! 
! tutorials_clean:
! 	rm -f -- $(manualsdir)/PdDrums/*.*
! 	rmdir -- $(manualsdir)/PdDrums
! 	rm -f -- $(manualsdir)/PlayNow/*.*
! 	rmdir -- $(manualsdir)/PlayNow
! 	rm -f -- $(manualsdir)/Intro/*.*
! 	rmdir -- $(manualsdir)/Intro
! 	rm -f -- $(manualsdir)/Sound/*.*
! 	rmdir -- $(manualsdir)/Sound
! 	rm -f -- $(manualsdir)/Visual/*.*
! 	rmdir -- $(manualsdir)/Visual
! 	rm -f -- $(manualsdir)/Networking/*.*
! 	rmdir -- $(manualsdir)/Networking
! 	rm -f -- $(manualsdir)/Physical/*.*
! 	rmdir -- $(manualsdir)/Physical
  
  
***************
*** 153,157 ****
  
  # the destination-specific clean targets are in Makefile.buildlayout
! clean: install_clean
  
  distclean: clean cruft_clean
--- 224,228 ----
  
  # the destination-specific clean targets are in Makefile.buildlayout
! clean: $(patsubst %, %_clean,$(DOC_TARGETS))
  
  distclean: clean cruft_clean





More information about the Pd-cvs mailing list