Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
314e18d4
Kaydet (Commit)
314e18d4
authored
Kas 29, 2012
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add dep on .po file
Change-Id: I1f752dd5a912f4ecd4db6de72e0a8eccada3091a
üst
e174c78a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
11 deletions
+21
-11
CustomTarget_librelogo.mk
librelogo/CustomTarget_librelogo.mk
+21
-11
No files found.
librelogo/CustomTarget_librelogo.mk
Dosyayı görüntüle @
314e18d4
...
...
@@ -11,33 +11,43 @@ $(eval $(call gb_CustomTarget_CustomTarget,librelogo/locproperties))
librelogo_DIR := $(call gb_CustomTarget_get_workdir,librelogo/locproperties)
define librelogo_Properties_Properties
$(call librelogo_Properties__Properties_impl,$(librelogo_DIR)/LibreLogo_$(1).properties,$(SRCDIR)/librelogo/source/pythonpath/LibreLogo_en_US.properties,$(gb_POLOCATION)/$(2)/librelogo/source/pythonpath.po,$(2))
endef
define librelogo_Properties__Properties_impl
$(1) : LANG := $(4)
$(1) : POFILE := $(3)
$(1) : SOURCE := $(2)
$(call gb_CustomTarget_get_target,librelogo/locproperties) : $(1)
$(1) : $(2) \
$(wildcard $(3))
endef
ifneq ($(strip $(gb_WITH_LANG)),)
librelogo_LANGS := $(subst -,_,$(filter-out qtz,$(filter-out en-US,$(gb_WITH_LANG))))
librelogo_LOCPROPERTIES := $(foreach lang,$(librelogo_LANGS),$(librelogo_DIR)/LibreLogo_$(lang).properties)
else
librelogo_LOCPROPERTIES :=
librelogo_LANGS := $(filter-out qtz,$(filter-out en-US,$(gb_WITH_LANG)))
$(eval $(foreach lang,$(librelogo_LANGS),$(call librelogo_Properties_Properties,$(subst -,_,$(lang)),$(lang))))
endif
librelogo_PROPMERGETARGET := $(call gb_Executable_get_target_for_build,propex)
librelogo_PROPMERGECOMMAND := $(gb_Helper_set_ld_path) $(librelogo_PROPMERGETARGET)
$(call gb_CustomTarget_get_target,librelogo/locproperties) : $(librelogo_LOCPROPERTIES)
$(librelogo_DIR)/LibreLogo_%.properties : \
$(SRCDIR)/librelogo/source/pythonpath/LibreLogo_en_US.properties \
$(librelogo_PROPMERGETARGET) \
| $(librelogo_DIR)/.dir
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRP,1)
$(call gb_Helper_abbreviate_dirs, \
LANG=$(subst _,-,$(subst $(librelogo_DIR)/LibreLogo_,,$(subst .properties,,$@))) && \
MERGEINPUT=`$(gb_MKTEMP)` && \
echo $(
gb_POLOCATION)/$${LANG}/librelogo/source/pythonpath.po
> $${MERGEINPUT} && \
echo $(
POFILE)
> $${MERGEINPUT} && \
$(librelogo_PROPMERGECOMMAND) \
-p librelogo \
-i $
<
\
-i $
(SOURCE)
\
-o $@ \
-m $${MERGEINPUT} \
-l $
${LANG}
&& \
-l $
(LANG)
&& \
rm -rf $${MERGEINPUT} \
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment