File: rules

package info (click to toggle)
apache-pom 10-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 92 kB
  • sloc: xml: 446; sh: 11; makefile: 6
file content (11 lines) | stat: -rwxr-xr-x 367 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/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/-[^-]*$$//')

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

%:
	dh $@ --with maven_repo_helper