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
|
#!/usr/bin/make -f
export JAVA_HOME=/usr/lib/jvm/default-java
UVERSION := $(shell dpkg-parsechangelog | grep ^Version: | sed 's/^.*: \(.*\)-\(.*\)$$/\1/')
%:
dh $@ --with javahelper
override_jh_installlibs:
mh_installpom -plibgeronimo-commonj-spec-java --no-parent --set-version=$(UVERSION) pom.xml
mh_installjar -plibgeronimo-commonj-spec-java --set-version=$(UVERSION) --java-lib pom.xml geronimo-commonj-spec.jar
override_dh_clean:
dh_clean
jh_clean
mh_clean
override_jh_build:
jh_build geronimo-commonj-spec.jar src/main
get-orig-source:
# uscan was not used because upstream doesn't provide an
# URL useful for scanning new versions, also this is
# the reason why this package doesn't ship a watch file
cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
./debian/orig-tar.sh
|