aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordaviddavid <geiger.david68210@gmail.com>2020-01-31 11:40:30 +0100
committerdaviddavid <geiger.david68210@gmail.com>2020-01-31 11:40:30 +0100
commit191ed63a42672cd35922ec58df553271f83a9762 (patch)
treec69a21ab9d1f355538ba5f0ad0ba075acab9b4a9 /Makefile
parent5968f18061319ab8a85f8b77fc1fbff4f2c3983a (diff)
downloadisodumper-191ed63a42672cd35922ec58df553271f83a9762.tar
isodumper-191ed63a42672cd35922ec58df553271f83a9762.tar.gz
isodumper-191ed63a42672cd35922ec58df553271f83a9762.tar.bz2
isodumper-191ed63a42672cd35922ec58df553271f83a9762.tar.xz
isodumper-191ed63a42672cd35922ec58df553271f83a9762.zip
Add rules to build tarball
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