File: rules

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

override_dh_auto_test:
	dh_auto_test -- test --all
	rm -rf output.ini output2.ini

UPSTREAM_FILES = .cargo_vcs_info.json .gitignore .travis.yml CHANGELOG.md Cargo.toml Cargo.toml.orig LICENSE-* README.md src/*.rs tests/test.*

override_dh_auto_install:
	touch -d @$(SOURCE_DATE_EPOCH) $(UPSTREAM_FILES)
	chmod ugo-x $(UPSTREAM_FILES)
	dh_auto_install --buildsystem cargo