File: rules

package info (click to toggle)
licensecheck 3.3.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 652 kB
  • sloc: perl: 657; cpp: 275; ansic: 186; ruby: 21; makefile: 9; sh: 1
file content (14 lines) | stat: -rwxr-xr-x 298 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

%:
	dh $@

# Install as private library, to be multiarch-friendly.
override_dh_auto_configure:
	dh_auto_configure -- LIB=/usr/share/licensecheck

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	chmod +x bin/licensecheck
	LC_ALL=C.UTF-8 dh_auto_test
endif