| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 
 | #!/usr/bin/make -f
include /usr/share/javahelper/java-vars.mk
include /usr/share/dpkg/pkg-info.mk
export LEIN_HOME=$(CURDIR)/.lein
export LEIN_OFFLINE=true
NAME=fast-zip
%:
	dh $@ --with javahelper --with maven_repo_helper
override_dh_auto_configure:
	cd debian && ln -sf /usr/share/maven-repo .
override_dh_auto_build:
	lein pom debian/pom.xml
	lein jar
	cd target && ln -sf $(NAME)-$(shell echo $(DEB_VERSION_UPSTREAM) | sed 's/.*+really//').jar $(NAME).jar
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	lein test
endif
override_dh_clean:
	rm -f debian/maven-repo
	rm -Rf target
	rm -f debian/pom.xml
	dh_clean
 |