#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk CLASSPATH := /usr/share/java/clojure.jar /usr/share/java/cpath-clj.jar /usr/share/java/libintl.jar export DH_CLOJURE_USJ_NAME = puppetlabs-i18n # line below is a workaround for clojure-team/dh-clojure#11 # see also d/patches/0001-Lein-Local.patch export LEIN_OFFLINE = true %: # the 2 lines below is a workaround for clojure-team/dh-clojure#11 # see also d/patches/0001-Lein-Local.patch mkdir -p $(CURDIR)/debian/dh-clojure/tmp ln -sf /usr/share/maven-repo $(CURDIR)/debian/dh-clojure/tmp dh $@ --buildsystem=leiningen execute_after_dh_auto_build: jh_manifest --classpath="$(CLASSPATH)" target/i18n-$(DEB_VERSION_UPSTREAM).jar execute_before_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) make i18n endif execute_after_dh_auto_clean: rm -rf resources/*