rpms/kpilot/devel kpilot.spec,1.4,1.5
Kevin Kofler
kkofler at fedoraproject.org
Fri Jan 15 03:37:39 UTC 2010
Author: kkofler
Update of /cvs/pkgs/rpms/kpilot/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2392/devel
Modified Files:
kpilot.spec
Log Message:
Only add valid doc translations.
Index: kpilot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kpilot/devel/kpilot.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- kpilot.spec 15 Jan 2010 03:27:44 -0000 1.4
+++ kpilot.spec 15 Jan 2010 03:37:38 -0000 1.5
@@ -50,7 +50,11 @@ Group: System Environment/Libraries
echo 'add_subdirectory(../doc/kpilot doc)' >>kpilot/CMakeLists.txt
echo 'add_subdirectory(../kpilot-translations-20100115 l10n)' >>kpilot/CMakeLists.txt
pushd kpilot-translations-20100115/doc
-for i in *_kpilot ; do echo "add_subdirectory($i)" >>CMakeLists.txt ; done
+for i in *_kpilot ; do
+ if [ -e $i/index.docbook ] ; then
+ echo "add_subdirectory($i)" >>CMakeLists.txt
+ fi
+done
popd
More information about the scm-commits
mailing list