File: rules

package info (click to toggle)
gentlyweb-utils 1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 380 kB
  • sloc: java: 4,877; xml: 55; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 624 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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:/usr/share/java/javax.activation.jar

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

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