|
From: | Dan McMahill |
Subject: | Re: gEDA-dev: Re: [Gnucap-devel] Gnucap docs build failure on FC5 (and other places) |
Date: | Sun, 30 Jul 2006 01:57:05 -0400 |
User-agent: | Thunderbird 1.5.0.5 (Windows/20060719) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |