File: rules

package info (click to toggle)
rust-tower-http 0.6.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,492 kB
  • sloc: makefile: 14
file content (16 lines) | stat: -rwxr-xr-x 658 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
%:
	dh $@ --buildsystem cargo

execute_after_dh_auto_configure:
	cp -r debian/missing-sources/test-files ./
	brotli test-files/precompressed.txt
	brotli test-files/precompressed_br.txt
	touch test-files/empty.txt
	python3 -c "import inflate64; enc = inflate64.Deflater(); data = enc.deflate(open('test-files/precompressed.txt', 'rb').read()); data += enc.flush(); open('test-files/precompressed.txt.zz', 'wb').write(data)"
	zstd test-files/precompressed.txt
	gzip --keep test-files/extensionless_precompressed
	gzip --keep test-files/precompressed.txt
	# content is same
	cp test-files/precompressed.txt.gz test-files/only_gzipped.txt.gz