This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Using directory variables in programs
- From: Dalibor Topic <robilad at yahoo dot com>
- To: Automake Mailing List <automake at gnu dot org>
- Date: Tue, 6 May 2003 02:34:03 -0700 (PDT)
- Subject: Using directory variables in programs
Hi,
I'd like to display a documentation file (PDF) from a program. In my
Makefile.am, I'm putting the PDF files into pdfdir=$(prefix)/pdf. What's the
best way to pass their location to the program?
I.e. should I use something like
AM_CFLAGS = $AM_CFLAGS -DPDFDIR=$pdfdir
or is there a better way, that works with make install DESTDIR=sth.
cheers,
dalibor topic
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com