SUFFIXES = .1 .pod
EXTRA_DIST = ddiff.1 ddiff.pod dpatch.1 dpatch.pod commands.pl commands.txt
man_MANS = ddiff.1 dpatch.1

%.1: %.pod
	pod2man --center="OneGeek Software" --release="Ddiff $(VERSION)" $+ > $@.new 2>/dev/null
	mv $@.new $@

all-local: commands.txt

commands.txt: ../src/debpatch.cc
	perl commands.pl $+ > $@ 