File: rules

package info (click to toggle)
devscripts 2.25.33
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,932 kB
  • sloc: perl: 28,335; sh: 12,878; python: 4,472; makefile: 382
file content (17 lines) | stat: -rwxr-xr-x 702 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

UBU_SUGGESTS=debian-keyring, debian-tag2upload-keyring, equivs, git-debpush (>= 13.12), libgitlab-api-v4-perl, liblwp-protocol-https-perl, libmetacpan-client-perl, libsoap-lite-perl, pristine-tar
ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo ubuntu),ubuntu)
 SUBSTVARS=-V'vendor:Suggests=$(UBU_SUGGESTS)' -V'vendor:Recommends='
else
 SUBSTVARS=-V'vendor:Suggests=' -V'vendor:Recommends=$(UBU_SUGGESTS)'
endif

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_gencontrol:
	dh_gencontrol -- $(SUBSTVARS) \
		-V"devscripts:LongDesc=$$(cat README.md | awk '/^- annotate-output/,/^  exim script for sorting/' | sed -e '/^[[:space:]]*$$/d' -e 's/^/ /g')"