aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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