From 597d4023e5ffa60e16d82062b743e35081b39003 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 8 May 2020 20:35:49 -0400 Subject: add release target --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b8d2171..a43dbbd 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,7 @@ endif $(CHOWN) $(OWNER):$(GROUP) $(DESTDIR)$(DOCDIR)/$$i; \ done -# These 2 are maintainer-specific targets. +# The rest are maintainer-specific targets. test: all ./$(PROJ) test.cue @@ -97,4 +97,9 @@ push: all man html git commit -m'auto-regenerate man/html pages' || true git push +release: + mkdir $(PROJ)-$(VERSION) + cp $(PROJ).c $(PROJ).1 $(PROJ).rst $(DOCS) $(PROJ)-$(VERSION) + tar cvfJ $(PROJ)-$(VERSION).tar.xz $(PROJ)-$(VERSION) + .PHONY: all man html test push install -- cgit v1.2.3