Re: gEDA-dev: Re: Gnucap docs build failure on FC5 (and other places)

Dan McMahill <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel,gmane.comp.cad.geda.devel
Message-ID <[email protected]>
Stuart Brorson wrote:

> Meanwhile, I *am* interested in hearing from others who might have
> some insight into  solving my problem.   What is the best way to set
> up a Makefile to generate .pdfs as a "make dist" target, and then have
> them simply installed when the end user does "make"?
> 
> Stuart
> 

simple.

pkgmanualdir= ${pkgdatadir}/manual
dist_pkgmanual_DATA= gnucap-man.pdf gnucap-man.dvi

this says to install gnucap-man.pdf and gnucap-man.dvi into
${pkgdatadir}/manual (typically something like 
/usr/local/share/gnucap/manual) and also include them in the tarfile.

They only get cleaned out in maintainer mode and the rules are written 
so that if you do something like modify the .tex or .dvi file then the 
.dvi and .pdf files will be regenerated and if you don't have the tools, 
you'll simply be warned.

-Dan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.