File: rules

package info (click to toggle)
parboiled 1.1.7-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 2,292 kB
  • ctags: 3,279
  • sloc: java: 17,073; xml: 141; makefile: 15
file content (22 lines) | stat: -rwxr-xr-x 717 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

export JAVA_HOME=/usr/lib/jvm/default-java
VERSION = $(shell dpkg-parsechangelog | sed -rne 's/^Version: ([0-9.]+)[-+].*$$/\1/p')

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

override_dh_auto_build:
	dh_auto_build -- -f debian/build.xml

override_dh_auto_clean:
	mh_clean
	rm -Rf parboiled-core/target
	rm -Rf parboiled-java/target

get-orig-source:
	uscan --download-current-version --force-download --rename

get-orig-pom:
	wget http://central.maven.org/maven2/org/parboiled/parboiled-core/$(VERSION)/parboiled-core-$(VERSION).pom -O debian/pom-core.xml
	wget http://central.maven.org/maven2/org/parboiled/parboiled-java/$(VERSION)/parboiled-java-$(VERSION).pom -O debian/pom-java.xml