kcontrol/infocenter patch

Michael Matz matz at kde.org
Wed Oct 30 22:56:49 GMT 2002


Hi,

On Wed, 30 Oct 2002, Helge Deller wrote:

> > > rm: cannot remove `/opt/kde/bin/kinfocenter': No such file or directory
> > > make[4]: [install-data-local] Error 1 (ignored)
> > >
> > > The attached patch fixes this for me.
> > > Ok to commit ?
> >
> > A simple -f after rm would do the job too ;)
> > (No need to create the symlink in the build dir)
>
> No, I think we had that once in the Makefile and it broke on
> some other arches than i386.

Ehh?  I would like to see a system, where 'rm -f' doesn't work as
intended.  If you really really want to check, then do it like:

  @test -f $(DESTDIR)bla && rm -f $(DESTDIR)bla

Anyway: The -f never was in that Makefile.am, the command as it is now was
new in rev 1.56.

> I just sent a second patch with directly creates the symlink in
> the destdir if needed.

It has the then superflous 'kinfocenter' still in CLEANFILES.  But anyway
please use 'rm -f'.


Ciao,
Michael.





More information about the kde-core-devel mailing list