#!/usr/bin/make -f
# -*- makefile -*-
# debian/rules file for trimmomatic
# Andreas Tille <tille@debian.org>
# GPL

pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
ver := $(shell dpkg-parsechangelog | awk '/^Version/ { print $$2 }' | cut -d- -f1 )

%:
	dh $@ --with javahelper

override_dh_auto_build:
	cp debian/MANIFEST.MF .
	if [ ! -d dist/unpack ]; then mkdir -p dist/unpack; fi
	touch dist/unpack/LICENCE
	touch dist/unpack/AUTHORS
	ant

override_dh_clean:
	rm -f MANIFEST.MF
	dh_clean

override_dh_compress:
	dh_compress --exclude=batchTrim
