File: rules

package info (click to toggle)
gentlyweb-utils 1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 380 kB
  • ctags: 553
  • sloc: java: 4,877; xml: 55; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 668 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

MAVEN_REPO  := http://repo.fusesource.com/nexus/content/groups/public/
GROUP_ID    := net/sf/josql
ARTIFACT_ID := gentlyweb-utils

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

export JAVA_HOME=/usr/lib/jvm/default-java
export CLASSPATH=/usr/share/java/jdom1.jar

%:
	dh $@ --with javahelper --with maven_repo_helper

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

get-orig-pom:
	wget -O debian/pom.xml ${MAVEN_REPO}/${GROUP_ID}/${ARTIFACT_ID}/${VERSION}/${ARTIFACT_ID}-${VERSION}.pom