File: rules

package info (click to toggle)
commons-parent 39-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 188 kB
  • sloc: xml: 1,551; sh: 11; makefile: 6
file content (10 lines) | stat: -rwxr-xr-x 366 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/make -f

DEB_SOURCE_PACKAGE   := $(shell dpkg-parsechangelog | grep '^Source:' | cut -f 2 -d ' ')
DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | cut -d: -f2- | sed 's/-[^-]*$$//')

%:
	dh $@ --with maven_repo_helper

get-orig-source:
	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename