File: rules

package info (click to toggle)
psk31lx 2.2-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 768 kB
  • sloc: cpp: 3,922; sh: 1,233; makefile: 34
file content (17 lines) | stat: -rwxr-xr-x 441 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

export DH_VERBOSE=1

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

%:
	dh $@

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