File: rules

package info (click to toggle)
wmitime 0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 136 kB
  • ctags: 39
  • sloc: ansic: 427; makefile: 41
file content (17 lines) | stat: -rwxr-xr-x 391 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

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- CFLAGS="$(shell dpkg-buildflags --get CFLAGS)"

override_dh_auto_install:
	dh_auto_install -- PREFIX=/usr

get-orig-source:
	uscan --verbose --force-download --no-symlink
	@if test -e ../wmitime-*.download ; then \
		rename -f -v "s/wmitime-(.+)\.download/wmitime_\1\.orig\.tar\.gz/" \
			../wmitime-*.download; \
	fi