[go: up one dir, main page]

File: rules

package info (click to toggle)
commons-httpclient 3.1-12
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 19,344 kB
  • sloc: java: 30,282; xml: 855; makefile: 17
file content (28 lines) | stat: -rwxr-xr-x 934 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f
# debian/rules for libcommons-httpclient-java (uses CDBS)

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk

PACKAGE			     := $(DEB_SOURCE_PACKAGE)
VERSION			     := $(DEB_UPSTREAM_VERSION)
JAVA_HOME            := /usr/lib/jvm/default-java
DEB_JARS             := junit commons-logging commons-codec
DEB_ANT_BUILD_TARGET := dist

DEB_INSTALL_CHANGELOGS_ALL = RELEASE_NOTES.txt

binary-post-install/lib$(PACKAGE)-java::
	mh_installpoms -plib$(PACKAGE)-java
	mh_installjar -plib$(PACKAGE)-java -l debian/pom.xml dist/$(PACKAGE)-$(VERSION).jar

clean::
	mh_clean

get-orig-pom:
	wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/commons-httpclient/commons-httpclient/$(DEB_UPSTREAM_VERSION)/commons-httpclient-$(DEB_UPSTREAM_VERSION).pom

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