PKGNAME = rsi VERSION = $(shell cat version.release) RELEASE = $(PKGNAME)-$(VERSION) PHONY: check.manifest dist dist: check.manifest version.release mkdir $(RELEASE) tar cf - `cat Manifest` | tar xvf - -C $(RELEASE) tar zcvf $(RELEASE).tar.gz $(RELEASE) rm -rf $(RELEASE) check.manifest: Manifest for i in `cat Manifest`; do test -e $$i; done test: ruby -Ilib tests/suite_all.rb # ;; default ruby-mode has tabs on? ugh. # (add-hook 'ruby-mode-hook # (lambda () # (setq indent-tabs-mode nil)))