#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --with javahelper

override_dh_installchangelogs:
	dh_installchangelogs PeriodicCalendar/net/sf/linuxorg/pcal/docs/ChangeLog

override_dh_auto_build:
	ant -propertyfile debian/ant.properties

execute_before_dh_auto_install:
	cd $(CURDIR)/PeriodicCalendar/net/sf/linuxorg/pcal/docs/ \
	&& iconv -f ISO-8859-1 -t UTF-8 < AUTHORS > AUTHORS.utf8 \
	&& mv AUTHORS.utf8 AUTHORS
