File: rules

package info (click to toggle)
rust-cbindgen-web 0.26.0-3~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 27,128 kB
  • sloc: sh: 30; makefile: 17; ansic: 15
file content (21 lines) | stat: -rwxr-xr-x 470 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
%:
	dh $@ --buildsystem cargo

override_dh_auto_configure:
	cp -a debian/vendor/ .
	dh_auto_configure -O--buildsystem=cargo

override_dh_clean:
	dh_clean -O--buildsystem=cargo
	rm -rf vendor/

override_dh_auto_test:
	dh_auto_test -- test --all

override_dh_installman:
	help2man debian/cbindgen-web/usr/bin/cbindgen > debian/cbindgen.1
	dh_installman -O--buildsystem=cargo

execute_after_dh_testdir:
	find . ! -newermt "jan 01, 2000" -exec touch {} +