Makefile: don't install mambabase translations if withkde3tools is disabled

This commit is contained in:
Silvan Calarco 2019-08-06 00:30:14 +02:00
parent e8e97b9082
commit ab47acc57c
2 changed files with 3 additions and 1 deletions

View File

@ -133,6 +133,7 @@ dist-update: $(pck_infiles:.in=)
locales: $(pck_catalogs:.po=.mo) $(pck_catalogs1:.po=.mo) locales: $(pck_catalogs:.po=.mo) $(pck_catalogs1:.po=.mo)
install-locales: locales install-locales: locales
ifeq ($(WITHKDE3TOOLS),1)
@for f in $(pck_catalogs); do\ @for f in $(pck_catalogs); do\
lang=`echo $$f | sed 's,.*/\(.*\)\.po,\1,'`;\ lang=`echo $$f | sed 's,.*/\(.*\)\.po,\1,'`;\
echo "installing i18n file for language \`$$lang'...";\ echo "installing i18n file for language \`$$lang'...";\
@ -140,6 +141,7 @@ install-locales: locales
$(INSTALL_DIR) $$dir;\ $(INSTALL_DIR) $$dir;\
$(INSTALL_DATA) $${f/.po/.mo} $$dir/mambabase.mo;\ $(INSTALL_DATA) $${f/.po/.mo} $$dir/mambabase.mo;\
done done
endif
@for f in $(pck_catalogs1); do\ @for f in $(pck_catalogs1); do\
lang=`echo $$f | sed 's,.*/\(.*\)\.po,\1,'`;\ lang=`echo $$f | sed 's,.*/\(.*\)\.po,\1,'`;\
echo "installing i18n file for language \`$$lang'...";\ echo "installing i18n file for language \`$$lang'...";\

View File

@ -1 +1 @@
VERSION = 4.94.0 VERSION = 4.94.1