File: rules

package info (click to toggle)
wmsun 1.05-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 152 kB
  • ctags: 41
  • sloc: ansic: 328; makefile: 36
file content (17 lines) | stat: -rwxr-xr-x 383 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 ../wmsun-*.download ; then \
		rename -f -v "s/wmsun-(.+)\.download/wmsun_\1\.orig\.tar\.gz/" \
			../wmsun-*.download; \
	fi