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

List:       kde-devel
Subject:    Re: KPaint
From:       James Richard Tyrer <tyrerj () acm ! org>
Date:       2003-09-08 19:12:24
[Download RAW message or body]

Michael Thaler wrote:
> Hello,
> 
> I was thinking about writing a little KDE paint application. Since I
> am new to KDE programming I cannot write an application from scratch
> and I was thinking of improving kpaint. I already read through the
> source and I understand most of it (I hope).
> 
> First of all, how can I compile just kpaint? 

After you run: "configure", just 'cd' to kpaint and 'make'

I don't know how to use
> automake and I don't want to write my own Makefile. 

To start with -- if you don't add more files -- the existing Makefile.am 
should work.

> Is there a
> possibility to use the Makefile from kdegraphics and just tell it to
> only compile kpaint? There are two Makefiles in the kpaint-directory:
> Makefile.am  Makefile.in. Can they be used to create a Makefile
> somehow?

Yes (sort of).  The Makefile.am is what starts the process.  When automake 
is run, it produces Makefile.in which the configure script uses to make the 
Makefile.  If you are using the CVS for this, there is a script that does 
all of this.  Just run:

	make -f Makefile.cvs

in the: "kdegraphics" directory.  To make only one application, just change 
directories after running: "configure" (this won't work if there are 
dependencies).

--
JRT


 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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