Project

General

Profile

« Previous | Next » 

Revision e63c71d6

Added by koszko over 1 year ago

make a tar.gz distribution archive in one go (no intermediate .tar generation)

View differences:

Makefile.in
36 36
        install install-html install-dvi install-pdf install-ps uninstall \
37 37
        install-strip clean distclean mostlyclean maintainer-clean TAGS info \
38 38
        dvi html pdf ps dist check installcheck installdirs \
39
	test-prepare test test-environment haketilo-$(version).tar
39
	test-prepare test test-environment haketilo-$(version).tar.gz
40 40

  
41 41
# core files
42 42
icons/haketilo16.png: icons/haketilo.svg
......
99 99
	rm -f mozilla-build.zip chromium-build.zip exports_init.js
100 100
	rm -rf pytest.ini certs injected_scripts geckodriver.log
101 101
	rm -rf certs/ test__pycache__/ .pytest_cache/
102
	rm -f *.tar *.tar.gz
102
	rm -f *.tar.gz
103 103

  
104 104
distclean: clean
105 105
	rm -f Makefile config.status record.conf
......
119 119
		printf 'FILES.txt\n' >> $@;                                 \
120 120
	fi
121 121

  
122
haketilo-$(version).tar: FILES.txt
122
haketilo-$(version).tar.gz: FILES.txt
123 123
	HERE="$$(pwd)";                                              \
124 124
	cd "$(srcdir)";                                              \
125
	tar -caf "$$HERE/$@" --transform='s_^_haketilo-$(version)/_' \
125
	tar -czf "$$HERE/$@" --transform='s_^_haketilo-$(version)/_' \
126 126
		$$(cat FILES.txt)
127 127

  
128
haketilo-$(version).tar.gz: haketilo-$(version).tar
129
	gzip < haketilo-$(version).tar > haketilo-$(version).tar.gz
130

  
131 128
dist: haketilo-$(version).tar.gz
132 129

  
133 130
# Files for constructing the makefile

Also available in: Unified diff