1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
export JAVA_HOME = /usr/lib/jvm/default-java
%:
dh $@ --buildsystem=maven
override_dh_auto_build:
# Regenerate the Java classes from the Thrift files
sed -i 's/^namespace java.swift/\/\/namespace java.swift/g' curator-x-rpc/src/main/thrift/curator.thrift
cd curator-x-rpc/src/main/scripts && bash apply-thrift.sh java
dh_auto_build
override_dh_auto_clean:
sed -i 's/\/\/namespace/namespace/g' curator-x-rpc/src/main/thrift/curator.thrift
dh_auto_clean
get-orig-source:
uscan --download-current-version --force-download --no-symlink
|