Makefile: don't install mambabase translations if withkde3tools is disabled
This commit is contained in:
parent
e8e97b9082
commit
ab47acc57c
2
Makefile
2
Makefile
@ -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'...";\
|
||||||
|
Loading…
Reference in New Issue
Block a user