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
include /usr/share/javahelper/java-vars.mk
export CLASSPATH=/usr/share/java/clojure.jar
DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-)
DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
PRODUCED_JAR=quoin.jar
%:
dh $@ --with javahelper --with maven_repo_helper
override_jh_build:
jar cf $(PRODUCED_JAR) -C src .
override_jh_classpath:
jh_classpath $(PRODUCED_JAR)
override_jh_installlibs:
jh_installlibs $(PRODUCED_JAR)
override_jh_clean:
jh_clean
rm -f $(CURDIR)/$(PRODUCED_JAR)
|