From 191ed63a42672cd35922ec58df553271f83a9762 Mon Sep 17 00:00:00 2001 From: daviddavid Date: Fri, 31 Jan 2020 11:40:30 +0100 Subject: Add rules to build tarball --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9cc0f8d..84c595b 100644 --- a/Makefile +++ b/Makefile @@ -146,8 +146,11 @@ install: install -m 644 $$locale/LC_MESSAGES/isodumper.mo $(DESTDIR)$(LOCALEDIR)/$$locale/LC_MESSAGES/isodumper.mo; \ done +# rules to build tarball + +dist: tar tar: - tar cvJf isodumper.tar.xz * + git archive --prefix $(PACKAGE)-$(VERSION)/ $(VERSION) | xz -9 > $(PACKAGE)-$(VERSION).tar.xz README.txt: README.md pandoc -f markdown -t plain README.md -o README.txt -- cgit v1.2.1