[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dirstamp and other mysteries
From: |
Adam Spiers |
Subject: |
Re: dirstamp and other mysteries |
Date: |
Tue, 29 Nov 2011 00:10:14 +0000 |
On Mon, Nov 28, 2011 at 11:50 PM, Adam Spiers <address@hidden> wrote:
> On Mon, Nov 28, 2011 at 11:43 PM, Adam Spiers <address@hidden> 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.
ARGH. Sorry to follow up to myself *again*, but I just realised that
I was mistaken when I claimed to have a working solution -
accidentally omitting the doc_DATA line above only made it *look* like
I did, because it had the side-effect of preventing a rebuild of
doc/manual.pdf, which would have been great if it wasn't at the cost
of having the PDF missing from the installation!
Putting the doc_DATA back into Makefile.am highlights the grief that
.dirstamp is causing me:
--------- 8< --------- 8< --------- 8< --------- 8< --------- 8< ---------
Considering target file `doc/manual.pdf'.
File `doc/manual.pdf' does not exist.
Considering target file `doc/stow.pdf'.
Pruning file `doc/stow.texi'.
Pruning file `doc/version.texi'.
Considering target file `doc/.dirstamp'.
File `doc/.dirstamp' does not exist.
Finished prerequisites of target file `doc/.dirstamp'.
Must remake target `doc/.dirstamp'.
Putting child 0x0193e5f0 (doc/.dirstamp) PID 11771 on the chain.
Live child 0x0193e5f0 (doc/.dirstamp) PID 11771
Reaping winning child 0x0193e5f0 PID 11771
Live child 0x0193e5f0 (doc/.dirstamp) PID 11772
Reaping winning child 0x0193e5f0 PID 11772
Removing child 0x0193e5f0 PID 11772 from chain.
Successfully remade target file `doc/.dirstamp'.
Finished prerequisites of target file `doc/stow.pdf'.
Prerequisite `doc/stow.texi' is older than target `doc/stow.pdf'.
Prerequisite `doc/version.texi' is older than target `doc/stow.pdf'.
Prerequisite `doc/.dirstamp' is newer than target `doc/stow.pdf'.
Must remake target `doc/stow.pdf'.
TEXINPUTS="./doc:$TEXINPUTS" \
MAKEINFO='/bin/bash
/home/adam/software/scm/stow-2.1.0/automake/missing --run makeinfo -I
. -I doc -I ./doc' \
texi2dvi -I . --pdf --batch -o doc/stow.pdf `test -f
'doc/stow.texi' || echo './'`doc/stow.texi
Putting child 0x0193f0d0 (doc/stow.pdf) PID 11773 on the chain.
Live child 0x0193f0d0 (doc/stow.pdf) PID 11773
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
--------- 8< --------- 8< --------- 8< --------- 8< --------- 8< ---------
Why does doc/stow.pdf depend on doc/.dirstamp, and how can I prevent
automake from attempting to regenerate doc/stow.pdf (a) it really
doesn't need to, and (b) it can't, because texi2dvi isn't even
installed?
Thanks!
Adam