File: rules

package info (click to toggle)
rust-brotli 6.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,504 kB
  • sloc: python: 160; sh: 75; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 419 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

%:
	dh $@ --buildsystem cargo

override_dh_fixperms:
	# Some source files incorrectly have +x. Alexander Kjäll filed a PR at
	# https://github.com/dropbox/rust-brotli/pull/79, open for half a year now.
	# There's actually a similar PR dating back to 2019:
	# https://github.com/dropbox/rust-brotli/pull/40
	# So we'll just solve it at our end.
	find . -name '*.rs' -exec chmod -x {} +
	dh_fixperms