File: rules

package info (click to toggle)
psk31lx 2.1-1%2Bdeb9u1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 960 kB
  • sloc: sh: 4,962; cpp: 3,926; makefile: 38
file content (23 lines) | stat: -rwxr-xr-x 553 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

export DH_VERBOSE=1

include /usr/share/dpkg/pkg-info.mk

VER ?= $(shell head -n1 `echo $(MAKEFILE_LIST) \
                         | sed -e "s,rules$$,../debian/changelog,"` \
               | sed -e "s,.*(,," \
                     -e "s,).*,," \
                     -e "s,\(.*\)-.*,\\1," \
                     -e "s,.*:,,")

%:
	dh $@ 

override_dh_gencontrol:
	dh_gencontrol -- -v2.1+2.2really$(DEB_VERSION)

get-orig-source:
	@wget http://wa0eir.bcts.info/src/psk31lx-$(VER).src.tar.gz \
	      -O psk31lx_$(VER).orig.tar.gz