From 4bf7150491ccc763d559a79db242adef9709f04a Mon Sep 17 00:00:00 2001 From: "Sean B. Palmer" Date: Tue, 28 Dec 2010 23:33:03 +0000 Subject: [PATCH] Self-documenting Makefile --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 715735e..6ea3aa9 100644 --- a/Makefile +++ b/Makefile @@ -2,17 +2,24 @@ # Copyright 2008, Sean B. Palmer, inamidst.com # Licensed under the Eiffel Forum License 2. +# archive - Create phenny.tar.bz2 using git archive archive: ; # hg archive -t tbz2 phenny-hg.tar.bz2 git archive --format=tar --prefix=phenny/ HEAD | bzip2 > phenny.tar.bz2 +# ci - Check the code into git and push to github ci: ; # hg ci git commit -a && git push origin master +# log - Show a log of recent updates log: ; # git log --date=short --format='%h %ad %s' git graph +# sync - Push phenny to pubble:opt/phenny/ sync: ; rsync -avz ./ pubble:opt/phenny/ + +help: ; + @egrep '^# [a-z]+ - ' Makefile | sed 's/# //'