[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: kcontrol/infocenter patch
From: Helge Deller <deller () gmx ! de>
Date: 2002-10-30 22:20:34
[Download RAW message or body]
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
["diff" (text/plain)]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic