[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Path settings in Makefile
From:       Stephan Kulow <coolo () itm ! mu-luebeck ! de>
Date:       1999-05-27 9:50:41
[Download RAW message or body]

Bernd Gehrmann wrote:
> 
> On Thu, 27 May 1999, Stephan Kulow wrote:
> 
> > Bernd Gehrmann wrote:
> > >
> > > In a makefile target, how do I get e. g. an icon path
> > > _without_ the $(install_root) prefix?
> > In 1.1? You can't. And you shouldn't.
> 
> Why shouldn't I? I must! Take as an example the file
> kdevelop/tools/processes.pl.in. In order to copy an
> icon, it needs the icon path. In a previous version,
> this was done via $KDEDIR. As $KDEDIR is not necessarily
> set, I tried to change the Makefile in such a way that
> the script is modified in a Makefile target - namely
> by using the makefile variable kde_icondir. Now when
> building a package, this doesn't work anymore.
I know. That's why I droped --with-install-root. Update
the configure of kdevelop and use DESTDIR. am_edit will
help you.
> 
> > > On a related topic: The KDE makefiles use $includedir
> > > in the 'messages' target. Shouldn't this be something
> > > like kde_includedir for consistency?
> > >
> > Well, kde_includedir is not what the other kde_*dirs
> > are. And KDE uses kde_includedir only on very rare
> > places if I'm not completly wrong.
> 
> E. g. for the kde.pot file.
> 
Well, there is uses includedir, not? ;)

Greetings, Stpehan

-- 
As long as Linux remains a religion of freeware fanatics,
Microsoft have nothing to worry about.  
                       By Michael Surkan, PC Week Online

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic