File: rules

package info (click to toggle)
arduino-mk 1.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 436 kB
  • sloc: sh: 292; ansic: 113; makefile: 69; python: 40
file content (13 lines) | stat: -rwxr-xr-x 311 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[~-].*//')

%:
	dh $@

get-orig-source:
	uscan --download-current-version --rename