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]

Re: pixmap dirs


Tom Tromey wrote:
> 
> Put `-DFOODIR=whatever' into AM_CFLAGS in Makefile.am.
> Then use FOODIR in your program.

Ok. I have to admit that this is the simplest solution indeed. But it is
not what I need.
The pixmap should be installed in $pkgdatadir. At run time they are in
the xpm subdir of the source dir (src). Do I have to test by hand if
there is such a subdir (in the current dir) and otherwise try from
$pkgdatadir ?  This will complicate my code a bit, but if there is no
other way, I'll do it.

The whole idea is to be able the program before and after it is
installed.

TIA,

Ionutz
-- 
Mental backup in progress - Do Not Disturb!
--
http://borco-ei.eng.hokudai.ac.jp/~borco/


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