From 30ae21371fbce8e34bf29ea32e6437f08103c54a Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 3 Apr 2010 02:03:12 +0200 Subject: Makefile: improvements --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2acb95a1..f3e00ee8 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ cleandoc: test -d $(DOCDIR) && rm -f -- $(DOCDIR)/*.html clean: - find . -regex [^\ ]\*.py[co]$ | xargs rm -f -- + find . -regex \*.py[co]\$$ -exec rm -f -- {} \; test: ./all_tests.py 1 @@ -89,4 +89,4 @@ commit: test @git citool snapshot: - git archive HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-8).tar.gz + git archive HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-parse HEAD | cut -b 1-8).tar.gz -- cgit 1.4.1-2-gfad0