Give up on automake's built-in rules for generating PDF and HTML and use our own.