diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-03-25 10:10:00 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-03-25 10:10:00 +0100 |
commit | e63c71d637f6c50356dedb3f77c8b7d8f72d13fa (patch) | |
tree | 68e184aa7ef4eb19d2c7b64d0eec30e20d7d105e | |
parent | d911bf37a13a8bfddedd26b0e16d59e6fd4d229a (diff) | |
download | browser-extension-e63c71d637f6c50356dedb3f77c8b7d8f72d13fa.tar.gz browser-extension-e63c71d637f6c50356dedb3f77c8b7d8f72d13fa.zip |
make a tar.gz distribution archive in one go (no intermediate .tar generation)
-rw-r--r-- | Makefile.in | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Makefile.in b/Makefile.in index 48335a9..0660114 100644 --- a/Makefile.in +++ b/Makefile.in @@ -36,7 +36,7 @@ default: $(default_target) install install-html install-dvi install-pdf install-ps uninstall \ install-strip clean distclean mostlyclean maintainer-clean TAGS info \ dvi html pdf ps dist check installcheck installdirs \ - test-prepare test test-environment haketilo-$(version).tar + test-prepare test test-environment haketilo-$(version).tar.gz # core files icons/haketilo16.png: icons/haketilo.svg @@ -99,7 +99,7 @@ clean mostlyclean: rm -f mozilla-build.zip chromium-build.zip exports_init.js rm -rf pytest.ini certs injected_scripts geckodriver.log rm -rf certs/ test__pycache__/ .pytest_cache/ - rm -f *.tar *.tar.gz + rm -f *.tar.gz distclean: clean rm -f Makefile config.status record.conf @@ -119,15 +119,12 @@ $(srcdir)/FILES.txt: $(srcdir)/.git printf 'FILES.txt\n' >> $@; \ fi -haketilo-$(version).tar: FILES.txt +haketilo-$(version).tar.gz: FILES.txt HERE="$$(pwd)"; \ cd "$(srcdir)"; \ - tar -caf "$$HERE/$@" --transform='s_^_haketilo-$(version)/_' \ + tar -czf "$$HERE/$@" --transform='s_^_haketilo-$(version)/_' \ $$(cat FILES.txt) -haketilo-$(version).tar.gz: haketilo-$(version).tar - gzip < haketilo-$(version).tar > haketilo-$(version).tar.gz - dist: haketilo-$(version).tar.gz # Files for constructing the makefile |