[flashproxy/master] When I "make dist" I want it always to delete the dist directory.

commit 3c748dd25809d7952ab8662ead76d60c6cda63f5 Author: David Fifield <david@bamsoftware.com> Date: Thu Jul 5 07:19:30 2012 -0700 When I "make dist" I want it always to delete the dist directory. "make sign" should remake the dist only if necessary. --- Makefile | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f3232aa..5981bd2 100644 --- a/Makefile +++ b/Makefile @@ -22,13 +22,14 @@ test: DISTNAME = flashproxy-client-$(VERSION) DISTDIR = dist/$(DISTNAME) -dist/$(DISTNAME).zip: +dist: rm -rf dist mkdir -p $(DISTDIR) cp -f $(CLIENT_DIST_FILES) $(DISTDIR) cd dist && zip -q -r -9 $(DISTNAME).zip $(DISTNAME) -dist: dist/$(DISTNAME).zip +dist/$(DISTNAME).zip: + $(MAKE) dist sign: dist/$(DISTNAME).zip cd dist && gpg --sign --detach-sign --armor $(DISTNAME).zip
participants (1)
-
dcf@torproject.org