automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: preventing re-running of texi2dvi?


From: Dan McMahill
Subject: Re: preventing re-running of texi2dvi?
Date: Thu, 21 Oct 2004 01:23:44 -0400
User-agent: Mutt/1.4.1i

On Thu, Oct 21, 2004 at 01:32:29PM +0900, Andre Caldas wrote:
> Hello, Dan!
> 
> Sorry for the last "wrong" advice.
> 
> I've been searching, and I think that maybe you should not use 
> EXTRA_DIST. I guess EXTRA_DIST is for files that "are not covered in the 
> automatic rules".
> 
> I guess you should use:
> dist_html_docs= ${info_TEXINFOS:.texi=.html}
> dist_ps_docs=   ${info_TEXINFOS:.texi=.ps}
> dist_pdf_docs=  ${info_TEXINFOS:.texi=.pdf}

ok.  I'll try again.  I'm using automake-1.9.2 and autoconf-2.59 btw.

My complete Makefile.am is now:

info_TEXINFOS=  pcb.texi
dist_pkgdata_DATA=      ${html_docs} ${ps_docs} ${pdf_docs}

html_docs=      ${info_TEXINFOS:.texi=.html}
ps_docs=        ${info_TEXINFOS:.texi=.ps} 
pdf_docs=       ${info_TEXINFOS:.texi=.pdf}

I had some other stuff to, but I've stripped it down to only have whats
listed here to help figure it out.  I have verified that pcb.{ps,pdf,html}
as well as the .info{,-1,-2,-3,-4,-5,-6} files end up in the distfile.
But sure enough, 'make clean' does:

rm -rf pcb.aux pcb.cp pcb.cps pcb.fn pcb.fns pcb.ky pcb.kys pcb.log pcb.pg \
  pcb.pgs pcb.tmp pcb.toc pcb.tp pcb.tps pcb.vr pcb.vrs \
  pcb.dvi pcb.pdf pcb.ps pcb.html
rm -f vti.tmp

Maybe this is an automake bug?  I scanned over the automake code a bit,
but I'm not really a perl programmer.  However, it looks like it always
wants to make the various texinfo outputs get cleaned by 'make clean'.

> By the way, it seems that it is important to try to "make distcheck" 
> your package.

I just verified that 'make distcheck' is still ok.  I make use of that
quite a lot.

-Dan

-- 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]