PACKAGE = mandi VERSION = 0.8.2 all: (cd src; make) clean: find -maxdepth 1 -type d -name 'mandi-*' -exec rm -r {} \; find -name '*~' -exec rm {} \; make -C src clean dist: clean rm -rf $(PACKAGE)-$(VERSION) ../$(PACKAGE)-$(VERSION).tar* svn export -q -rBASE . ../$(PACKAGE)-$(VERSION) tar cvjf ../mandi-$(VERSION).tar.bz2 ../mandi-$(VERSION) rm -rf ../mandi-$(VERSION)