From cbcafffd1b6d2c27701ca04d4bcde256b0d8b3a1 Mon Sep 17 00:00:00 2001 From: David Caldwell Date: Sun, 21 Sep 2014 17:50:04 -0700 Subject: [PATCH] [Makefile] Whine if we try to release something impure. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index a7aa168..9bcfd54 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,7 @@ commit-patch.html: commit-patch release: commit-patch-$(VERSION).tar.gz commit-patch-$(VERSION).tar.gz: $(ALL) Makefile + if ! git diff --quiet -- $^; then tput setab 1; tput setaf 3; /bin/echo -n 'WARNING: Directory is not clean!'; tput sgr0; echo; fi mkdir commit-patch-$(VERSION) rsync -a $^ commit-patch-$(VERSION) mv -f commit-patch-$(VERSION)/commit-patch.fat commit-patch-$(VERSION)/commit-patch -- 2.51.2