Modernize automake invocation
Produce manpages with pandoc

Also add missing remove-duplicates.1 to the distribution.