automake
[Top][All Lists]
Advanced

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

Using directory variables in programs


From: Dalibor Topic
Subject: Using directory variables in programs
Date: Tue, 6 May 2003 02:34:03 -0700 (PDT)

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




reply via email to

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