[Top][All Lists]
[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
- Using directory variables in programs,
Dalibor Topic <=