File: rules

package info (click to toggle)
jexcelapi 2.6.12-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 4,276 kB
  • sloc: java: 43,178; xml: 131; makefile: 15; lisp: 9; sh: 8
file content (22 lines) | stat: -rwxr-xr-x 629 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
#!/usr/bin/make -f

POM_VERSION          := 2.6
MAVEN_REPO           := http://repository.sonatype.org/service/local/repositories/central/content

%:
	dh $@ --buildsystem=ant --sourcedirectory=build --with maven-repo-helper

override_dh_auto_build:
	dh_auto_build -- jxlall

override_dh_auto_clean:
	mkdir -p build/out
	dh_auto_clean -- init clean
	rm -Rf docs

get-orig-source:
	uscan --upstream-version 0 --rename

get-orig-pom:
	wget -O debian/pom.xml $(MAVEN_REPO)/net/sourceforge/jexcelapi/jxl/$(POM_VERSION)/jxl-$(POM_VERSION).pom
	perl -p -i -e 's/<version>$(POM_VERSION)/<version>$(DEB_UPSTREAM_VERSION)/' debian/pom.xml