aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-05-08 20:35:49 -0400
committerB. Watson <yalhcru@gmail.com>2020-05-08 20:35:49 -0400
commit597d4023e5ffa60e16d82062b743e35081b39003 (patch)
tree2c499a46be537c7662c7cb77a3824fef9b833a2d
parent6936bfd84b89eacd926133f1a15a2a99565aa44b (diff)
downloadmiragextract-597d4023e5ffa60e16d82062b743e35081b39003.tar.gz
add release target
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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