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

Re: install script...



On Sat, Jun 19, 1999 at 11:45:26AM +0100, John Travers wrote:
> anyway, I use  a configure script and do ./configure --with-datadir=/usr/lib in
> my rules file, (under commands to compile the package ).
> and have:
> $(MAKE) install prefix='pwd'/debian/tmp/usr (under commands to install the
> package)

ITYM the install-stamp rule. Just make that command:
$(MAKE) install prefix='pwd'/debian/tmp/usr datadir='pwd'/debian/tmp/usr
Or replace "datadir" with whatever the variable name set by configure is.

> (The configure script must have the real data dir names as it is hardcoded in
> the programs, so I can't fo --with-datadir='pwd'/debian/tmp/usr/lib)

Correct.

-- 
enJoy -*/\*- http://jagor.srce.hr/~jrodin/


Reply to: