File: rules

package info (click to toggle)
deets 0.2.1-4
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 444 kB
  • sloc: sh: 1,032; ansic: 424; makefile: 17
file content (12 lines) | stat: -rwxr-xr-x 292 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

%:
	dh $@ --builddirectory=obj

override_dh_gencontrol:
	dh_gencontrol -- -Vsourcedep:libdpkg-dev='$(sourcedep_libdpkg_dev)'

sourcedep_libdpkg_dev := \
	$(shell dpkg-query \
	        --showformat '$${source:Package} (= $${source:Version})' \
	        --show libdpkg-dev)