On Mon, Nov 28, 2011 at 11:43 PM, Adam Spiers <[email protected]> wrote:
> I tried *all* sorts of things, pored over the automake Info pages for
> hours, and (ironically, as I was composing this mail) finally came up
> with a solution which is essentially this:
>
> dist_doc_DATA = doc/manual.html
Oops, there should have also been:
doc_DATA = doc/manual.pdf
here.
> doc/manual.pdf: doc/stow.pdf
> [ -d doc ] || mkdir doc # required in vpath mode
> cp $< $@
>
> doc/manual.html: doc/stow.texi
> -rm -f $@
> texi2html --P=$(srcdir) --output=$@ -expandinfo -menu
> -monolithic -verbose $<
>
> EXTRA_DIST = doc/stow.pdf