Version=0.11 Url="http://unbox.org/wisp/var/timm/08/ai/src/nova/" Stem=nova Tmp=/tmp Dirs=apps guess misc tricks xomo MyTmp=tmp AllDirs=$(Dirs) $(MyTmp) Dirp = if [ ! -d $(dir) ]; then echo making $(dir); mkdir $(dir); fi; dirs : cd lisp && $(foreach dir, $(AllDirs), $(Dirp) ) cd lisp/$(MyTmp) && $(foreach dir, $(Dirs), $(Dirp) ) zip : clean svn commit -m "making tarball" cd $(Tmp) && rm -rf $(Stem) && svn export $(Url) $(Stem) cd $(Tmp) && zip -r $(Stem)-$(Version).zip $(Stem) ls -lsa $(Tmp)/$(Stem)-$(Version).zip clean : cd lisp && rm -f *.fasl cd lisp && $(foreach dir, $(Dirs), rm -f $(dir)/*.fasl )