SPECS (AC-branch): kdetoys.spec - install shortcut

glen glen at pld-linux.org
Sat Feb 16 01:04:09 CET 2008


Author: glen                         Date: Sat Feb 16 00:04:09 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- install shortcut

---- Files affected:
SPECS:
   kdetoys.spec (1.102.2.8 -> 1.102.2.9) 

---- Diffs:

================================================================
Index: SPECS/kdetoys.spec
diff -u SPECS/kdetoys.spec:1.102.2.8 SPECS/kdetoys.spec:1.102.2.9
--- SPECS/kdetoys.spec:1.102.2.8	Fri Feb 15 14:48:27 2008
+++ SPECS/kdetoys.spec	Sat Feb 16 01:04:03 2008
@@ -236,15 +236,23 @@
 %{__make}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-rm -rf *.lang
+if [ ! -f makeinstall.stamp -o ! -d $RPM_BUILD_ROOT ]; then
+	rm -rf makeinstall.stamp installed.stamp $RPM_BUILD_ROOT
+
+	%{__make} install \
+		DESTDIR=$RPM_BUILD_ROOT \
+		kde_htmldir=%{_kdedocdir}
 
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT \
-	kde_htmldir=%{_kdedocdir}
+	touch makeinstall.stamp
+fi
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/kde3/*.la
+if [ ! -f installed.stamp ]; then
+	rm -f $RPM_BUILD_ROOT%{_libdir}/kde3/*.la
 
+	touch installed.stamp
+fi
+
+rm -f *.lang
 %find_lang amor		--with-kde
 %find_lang kmoon	--with-kde
 %find_lang kodo		--with-kde
@@ -338,6 +346,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.102.2.9  2008-02-16 00:04:03  glen
+- install shortcut
+
 Revision 1.102.2.8  2008-02-15 13:48:27  glen
 - KDE 3.5.9
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kdetoys.spec?r1=1.102.2.8&r2=1.102.2.9&f=u



More information about the pld-cvs-commit mailing list