From: <sla...@us...> - 2010-07-19 20:20:43
|
Revision: 5070 http://sashimi.svn.sourceforge.net/sashimi/?rev=5070&view=rev Author: slagelwa Date: 2010-07-19 20:20:37 +0000 (Mon, 19 Jul 2010) Log Message: ----------- Adding a simple Makefile to make it easier to manage a distribution (zip file) of the tutorial up on sourceforge Added Paths: ----------- trunk/trans_proteomic_pipeline/HELP_DIR/MaRiMba_Tutorial/Makefile Added: trunk/trans_proteomic_pipeline/HELP_DIR/MaRiMba_Tutorial/Makefile =================================================================== --- trunk/trans_proteomic_pipeline/HELP_DIR/MaRiMba_Tutorial/Makefile (rev 0) +++ trunk/trans_proteomic_pipeline/HELP_DIR/MaRiMba_Tutorial/Makefile 2010-07-19 20:20:37 UTC (rev 5070) @@ -0,0 +1,41 @@ +############################ -*- Mode: Makefile -*- ########################### +## Makefile -- Makefile for the MaRiMba tutorial +## +## Author : Joe Slagel <js...@sy...> + +############################################################################### + +SFUSER = +DISTVNAME = MaRiMba_Tutorial-1.0 + +.PHONY: help +help : + @echo + @echo "Usage: make target ... [ DEFINES ...]" + @echo + @echo "Makefile for distributing the MaRiMba tutorial." + @echo + @echo "Targets:" + @echo " help Displays this help" + @echo " dist Builds a zipped distribution file of the contents" + @echo " upload Uploads the local zipped distribution to sourceforge" + @echo " clean Cleans up the build area" + @echo + +dist : + rm -rf $(DISTVNAME) $(DISTVNAME).zip + mkdir $(DISTVNAME) + cp -v 18mix_* $(DISTVNAME) + cp -v Getting_Started_with_MaRiMba.pdf $(DISTVNAME) + zip -r $(DISTVNAME).zip $(DISTVNAME) + rm -rf $(DISTVNAME) + +upload : + @if [ -z "$(SFUSER)" ]; then \ + read -p "Sourceforge user: " SFUSER; \ + fi; \ + echo scp $(DISTVNAME) zip $$SFUSER,sa...@fr...:/home/frs/project/s/sa/sashimi/MaRiMba; \ + scp $(DISTVNAME).zip $$SFUSER,sa...@fr...:/home/frs/project/s/sa/sashimi/MaRiMba + +clean : + rm -rf $(DISTVNAME) $(DISTVNAME).zip This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |