File: rules

package info (click to toggle)
psk31lx 2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 764 kB
  • sloc: cpp: 3,922; sh: 1,233; makefile: 35
file content (19 lines) | stat: -rwxr-xr-x 488 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

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