From kde-core-devel Wed Oct 30 22:20:34 2002 From: Helge Deller Date: Wed, 30 Oct 2002 22:20:34 +0000 To: kde-core-devel Subject: kcontrol/infocenter patch X-MARC-Message: https://marc.info/?l=kde-core-devel&m=103601664702239 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-00=_ysFw97b7+K1ElRz" --Boundary-00=_ysFw97b7+K1ElRz Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Running "make install" in kdebase/kcontrol/kcontrol produces currently the following "Error" if KDE hasn't been installed yet: 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 ? Helge --Boundary-00=_ysFw97b7+K1ElRz Content-Type: text/plain; charset="us-ascii"; name="diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="diff" Index: Makefile.am =================================================================== RCS file: /home/kde/kdebase/kcontrol/kcontrol/Makefile.am,v retrieving revision 1.60 diff -u -p -r1.60 Makefile.am --- Makefile.am 2002/09/20 19:49:08 1.60 +++ Makefile.am 2002/10/30 22:16:40 @@ -22,7 +22,7 @@ METASOURCES = AUTO SUBDIRS = . pics -CLEANFILES = dummy.cpp +CLEANFILES = dummy.cpp kinfocenter bin_PROGRAMS = kcontrol kcmshell kcminit lib_LTLIBRARIES = kcontrol.la kcmshell.la kcminit.la @@ -67,12 +67,14 @@ rcinfo_DATA = kinfocenterui.rc data_DATA = KControl.desktop datadir = $(kde_appsdir)/Settingsmenu -install-data-local: KControl_NoDisplay.desktop +kinfocenter: + $(LN_S) kcontrol kinfocenter + +install-data-local: KControl_NoDisplay.desktop kinfocenter $(mkinstalldirs) $(DESTDIR)$(kde_appsdir) $(INSTALL_DATA) $(srcdir)/KControl_NoDisplay.desktop $(DESTDIR)$(kde_appsdir)/KControl.desktop - @-rm $(DESTDIR)$(kde_bindir)/kinfocenter - @$(LN_S) kcontrol $(DESTDIR)$(kde_bindir)/kinfocenter $(INSTALL_DATA) $(srcdir)/kinfocenter.desktop $(DESTDIR)$(kde_appsdir)/System/ + $(INSTALL) kinfocenter $(DESTDIR)$(kde_bindir) KDE_ICON=AUTO --Boundary-00=_ysFw97b7+K1ElRz--