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 27 28 29
|
#!/usr/bin/make -f
# -*- makefile -*-
# debian/rules file for spread
# Andreas Tille <tille@debian.org>
# GPL
#export DH_VERBOSE=1
DEBJAR := /usr/share/java
CLASSPATH := $(DEBJAR)/jebl.jar:$(DEBJAR)/colt.jar:$(DEBJAR)/ColorPicker.jar:$(DEBJAR)/processing-core.jar:$(DEBJAR)/fest-assert-core.jar
%:
dh $@ --with javahelper
override_dh_auto_build:
# no idea why setting CLASSPATH explicitely this way, however patching
# build.xml and .classpath seems not to be sufficient
CLASSPATH=$(CLASSPATH) ant jar
# Remark: The following uscan command requires devscripts > 2.12.4 which is not
# yet released at the time of this package release. The code can be obtained
# via
# git clone git://tille@git.debian.org/git/users/tille/devscripts.git
# and then use scripts/uscan.pl
get-orig-source:
mkdir -p ../tarballs
uscan --verbose --force-download --repack-compression xz --destdir ../tarballs
# use this in case you are not trusting uscan from git
# . debian/get-orig-source
|