rev 16833 - kde-extras/digikam-doc/trunk/debian
José Manuel Santamaría Lema
santa-guest at alioth.debian.org
Mon Feb 8 16:22:27 UTC 2010
Author: santa-guest
Date: 2010-02-08 16:22:26 +0000 (Mon, 08 Feb 2010)
New Revision: 16833
Modified:
kde-extras/digikam-doc/trunk/debian/rules
Log:
Add a rule to clean the temporary files to generate the upstream tarball and
create a proper CMakeLists.txt for translations.
Modified: kde-extras/digikam-doc/trunk/debian/rules
===================================================================
--- kde-extras/digikam-doc/trunk/debian/rules 2010-02-08 15:26:14 UTC (rev 16832)
+++ kde-extras/digikam-doc/trunk/debian/rules 2010-02-08 16:22:26 UTC (rev 16833)
@@ -8,6 +8,9 @@
SVNROOT = svn://anonsvn.kde.org/home/kde/trunk
I18NLANGS = $(shell svn cat $(SVNROOT)/l10n-kde4/subdirs@$(REV) | sed 's/x-test//')
+clean-get-orig-source:
+ @@rm -fR ../tarballs/digikam-doc-$(REV).tmp
+
$(I18NLANGS):
@@echo -n "Checking if $@ translation exists ... "
@@[ -d ../tarballs/digikam-doc-$(REV).tmp/doc-translations/$@ ]||mkdir -p ../tarballs/digikam-doc-$(REV).tmp/doc-translations/$@
@@ -18,9 +21,9 @@
echo yes || echo no
-@@[ -f ../tarballs/digikam-doc-$(REV).tmp/doc-translations/$@/index.docbook ] && \
cd ../tarballs/digikam-doc-$(REV).tmp/doc-translations/ && \
- echo "add_subdirectory( $@ )" > CMakeLists.txt
+ echo "add_subdirectory( $@ )" >> CMakeLists.txt
-get-orig-source: $(I18NLANGS)
+get-orig-source: clean-get-orig-source $(I18NLANGS)
@@dh_testdir
@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
@@echo 'Checking out for repacking (might take 15 min) ... REV: ' $(REV) $(DEB_UPSTREAM_VERSION)
More information about the pkg-kde-commits
mailing list