AUTOMAKE_OPTIONS=foreign
SUBDIRS=src

EXTRA_DIST=idbg.1 idbg.html idbg.txt idbg.pod README COPYING copycheck.pl
man_MANS=idbg.1

all-local: idbg.html idbg.txt idbg.1

idbg.html: idbg.pod
	pod2html $+ > $@

idbg.txt: idbg.pod
	pod2text $+ > $@

idbg.1: idbg.pod
	pod2man --center="Onegeek Software" --release="Idbg $(VERSION)" $+ > $@

dist-hook:
	perl copycheck.pl $(distdir)
