Hide cmd
This commit is contained in:
parent
8e3751c6e6
commit
9dd01e7ef2
16
Makefile
16
Makefile
|
@ -1080,28 +1080,28 @@ test_omegat_%_dir:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
omegat-configuration-file:
|
omegat-configuration-file:
|
||||||
perl -pe 'BEGIN{$$p=`pwd`;chomp $$p;}s/__LANG__/$(OMEGATCODE)/;s/__PWD__/$$p/o;' omegat.files/_base.project >omegat.files/$(LANGCODE)/omegat.project
|
@perl -pe 'BEGIN{$$p=`pwd`;chomp $$p;}s/__LANG__/$(OMEGATCODE)/;s/__PWD__/$$p/o;' omegat.files/_base.project >omegat.files/$(LANGCODE)/omegat.project
|
||||||
|
|
||||||
translation: omegat-configuration-file
|
translation: omegat-configuration-file
|
||||||
omegat omegat.files/$(LANGCODE) --no-team --quiet
|
@omegat omegat.files/$(LANGCODE) --no-team --quiet
|
||||||
|
|
||||||
translated-doc: omegat-configuration-file
|
translated-doc: omegat-configuration-file
|
||||||
omegat omegat.files/$(LANGCODE) --mode=console-translate --quiet 2>/dev/null
|
@omegat omegat.files/$(LANGCODE) --mode=console-translate --quiet 2>/dev/null
|
||||||
|
|
||||||
# 2. Public targets
|
# 2. Public targets
|
||||||
|
|
||||||
%-translation: test_omegat_%_dir omegat-%-clean
|
%-translation: test_omegat_%_dir omegat-%-clean
|
||||||
$(MAKE) translation LANGCODE=$* OMEGATCODE=`$(call language_code,$*)`
|
@$(MAKE) translation LANGCODE=$* OMEGATCODE=`$(call language_code,$*)`
|
||||||
|
|
||||||
%-doc: test_omegat_%_dir omegat-%-clean
|
%-doc: test_omegat_%_dir omegat-%-clean
|
||||||
mkdir -p po-doc/$*
|
@mkdir -p po-doc/$*
|
||||||
$(MAKE) translated-doc LANGCODE=$* OMEGATCODE=`$(call language_code,$*)`
|
@$(MAKE) translated-doc LANGCODE=$* OMEGATCODE=`$(call language_code,$*)`
|
||||||
|
|
||||||
omegat-clean:
|
omegat-clean:
|
||||||
rm -rf omegat.files/*/omegat.project omegat.files/*/omegat/project_save*.bak
|
@rm -rf omegat.files/*/omegat.project omegat.files/*/omegat/project_save*.bak
|
||||||
|
|
||||||
omegat-%-clean:
|
omegat-%-clean:
|
||||||
rm -rf po-doc/$*
|
@rm -rf po-doc/$*
|
||||||
|
|
||||||
install_%_doc_site:
|
install_%_doc_site:
|
||||||
@rm -rf $(RDOCDIR)/$*-doc || true
|
@rm -rf $(RDOCDIR)/$*-doc || true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user