Codebase list xmlunit / 9af5213
Build with the DH sequencer instead of CDBS Emmanuel Bourg 4 years ago
4 changed file(s) with 9 addition(s) and 21 deletion(s). Raw diff Collapse all Expand all
00 xmlunit (1.6-2) UNRELEASED; urgency=medium
11
2 * Build with the DH sequencer instead of CDBS
23 * Standards-Version updated to 4.4.0
34 * Switch to debhelper level 11
45 * Use salsa.debian.org Vcs-* URLs
77 Build-Depends:
88 ant,
99 ant-optional,
10 cdbs,
1110 dblatex,
1211 debhelper (>= 11),
1312 default-jdk,
0 build/lib/xmlunit.pom --no-parent
0 build/lib/xmlunit.pom --no-parent --java-lib --artifact=build/lib/xmlunit-*.jar
00 #!/usr/bin/make -f
11
2 include /usr/share/cdbs/1/rules/debhelper.mk
3 include /usr/share/cdbs/1/class/ant.mk
2 include /usr/share/dpkg/pkg-info.mk
43
5 PACKAGE := $(DEB_SOURCE_PACKAGE)
6 VERSION := $(DEB_UPSTREAM_VERSION)
7 JAVA_HOME := /usr/lib/jvm/default-java
8 DEB_JARS := ant-nodeps ant-junit ant-trax junit jaxp-1.3 xalan2 serializer
9 DEB_ANT_BUILD_TARGET := jar test docs
10 DEB_ANT_BUILDFILE := build.xml
11 DEB_ANT_ARGS := -Dxmlunit.version=$(VERSION) -Ddb5.xsl=/usr/share/xml/docbook/stylesheet/nwalsh
4 %:
5 dh $@ --with maven-repo-helper
126
13 binary-post-install/lib$(PACKAGE)-java::
14 cp build/lib/xmlunit-$(VERSION).pom build/lib/xmlunit.pom
15 mh_installpoms -plib$(PACKAGE)-java
16 mh_installjar -plib$(PACKAGE)-java -l debian/pom.xml build/lib/xmlunit-$(VERSION).jar
17
18 clean::
19 -rm -rf debian/tmp
20 mh_clean
7 override_dh_auto_build:
8 dh_auto_build -- jar test docs -Dxmlunit.version=$(DEB_VERSION_UPSTREAM) -Ddb5.xsl=/usr/share/xml/docbook/stylesheet/nwalsh
9 cp build/lib/xmlunit-*.pom build/lib/xmlunit.pom
2110
2211 get-orig-pom:
23 wget -O debian/pom.xml http://repo1.maven.org/maven2/xmlunit/xmlunit/$(VERSION)/xmlunit-$(VERSION).pom
24
12 wget -O debian/pom.xml http://repo1.maven.org/maven2/xmlunit/xmlunit/$(DEB_VERSION_UPSTREAM)/xmlunit-$(DEB_VERSION_UPSTREAM).pom