1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#!/usr/bin/make -f
VERSION := $(shell dpkg-parsechangelog --show-field Version | sed 's/-[^-]*//')
UVERSION := $(shell echo $(VERSION) | sed 's/~.*//')
%:
dh $@ --buildsystem=ant --with maven-repo-helper
override_dh_auto_build:
dh_auto_build -- -f debian/build.xml -Dversion=$(UVERSION)
override_dh_auto_clean:
get-orig-pom:
mkdir -p debian/poms
wget -U NoSuchBrowser/1.0 -O debian/poms/ecj.pom \
https://repo1.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/$(VERSION)/ecj-$(VERSION).pom
|