This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]