[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[libreoffice] 38/59: prepopulate the sk help from cz (related: deb#600335)



This is an automated email from the git hooks/post-receive script.

sweetshark-guest pushed a commit to branch ubuntu-trusty-4.2
in repository libreoffice.

commit 68143e4feafe3be29cdfe4e96cd2d07ebff8eab5
Author: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
Date:   Sat Dec 21 03:45:03 2013 +0100

    prepopulate the sk help from cz (related: deb#600335)
---
 debian-l10n/rules | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/debian-l10n/rules b/debian-l10n/rules
index 8dd87c2..0a7d18e 100644
--- a/debian-l10n/rules
+++ b/debian-l10n/rules
@@ -80,11 +80,14 @@ $(STAMP_DIR)/install-indep:
 	dh_testdir
 	dh_testroot
 	rm -rf $(PKGDIR)-help-* $(PKGDIR)-l10n-*
+ifneq (,$(filter sk,$(HELPISOS)))
+	# prepopulate sk help from cz
+	make install-package-help-cz INSTALLDIR=$(PKGDIR)-help-sk/$(OODIR)
+endif
 	$(foreach iso,$(filter-out en-US ca-valencia,$(LANGPACKISOS)),\
 		make install-package-l10n-$(iso) INSTALLDIR=$(PKGDIR)-l10n-`echo $(iso)|tr A-Z a-z`/$(OODIR) &&) true
 	$(foreach iso,$(filter-out en-US ca-valencia,$(HELPISOS)),\
 		make install-package-help-$(iso) INSTALLDIR=$(PKGDIR)-help-`echo $(iso)|tr A-Z a-z`/$(OODIR) &&) true
-	
 	# and ca-valencia in -ca...
 ifneq (,$(filter ca-valencia,$(LANGPACKISOS)))
 	make install-package-l10n-ca-valencia INSTALLDIR=$(PKGDIR)-l10n-ca/$(OODIR)
@@ -92,25 +95,17 @@ endif
 ifneq (,$(filter ca-valencia,$(HELPISOS)))
 	make install-package-help-ca-valencia INSTALLDIR=$(PKGDIR)-help-ca/$(OODIR)
 endif
-
 	for PKG in $(ARCH_INDEP_PACKAGES); do \
 		cat debian/changelog \
 		| sed -e '/^openoffice/,$$d' \
 		> debian/$$PKG.changelog; \
 	done
-ifeq (sk,$(findstring sk,$(HELPISOS)))
-	# add fake sk help
-	mkdir -p $(PKGDIR)-help-sk/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
-	ln -s cs \
-		$(PKGDIR)-help-sk/$(shell echo $(OODIR) | sed -e s/lib/share/)/help/sk
-endif
 	touch $@
 
 binary-indep: $(STAMP_DIR)/binary-indep
 $(STAMP_DIR)/binary-indep: $(STAMP_DIR)/install-indep
 	dh_testdir
 	dh_testroot
-
 	# install technical.dic
 	for iso in $(LANGPACKISOS); do \
 		if [ "$$iso" = "en-US" ]; then pkg=common; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libreoffice.git


Reply to: