Remove 'current' dir in translated doc and replace it by a symlink

This commit is contained in:
Xavier Guimard 2013-11-12 19:50:39 +00:00
parent 6f9dcf9c8f
commit f95c3af0dc

View File

@ -711,7 +711,8 @@ translation: omegat-configuration-file
omegat omegat.files/$(LANGCODE) --quiet
translated-doc: omegat-configuration-file
omegat omegat.files/$(LANGCODE) --mode=console-translate --quiet
omegat omegat.files/$(LANGCODE) --mode=console-translate --quiet 2>/dev/null
cd po-doc/$(LANGCODE)/pages/documentation && rm -rf current && ln -s $$(find * -maxdepth 0 -type d) current
# 2. Public targets