Skip to content

Commit

Permalink
- Update all ts-files regardless if they are in a makefile or not
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11745 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Apr 13, 2012
1 parent fdf4f6e commit 1479b8f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions OMEdit/OMEditGUI/Makefile.unix.in
@@ -1,5 +1,4 @@
.PHONY: install build $(NAME) always
.SUFFIXES: qm ts
.PHONY: install build $(NAME) always qm

top_builddir=../../
builddir_bin=$(top_builddir)/build/bin/
Expand All @@ -10,17 +9,16 @@ resourcedir=./Resources/nls/
NAME=OMEdit
EXE=@EXE@
QMAKE=@QMAKE@
QM=$(resourcedir)/OMEdit_sv.qm $(resourcedir)/OMEdit_ru.qm $(resourcedir)/OMEdit_de.qm $(resourcedir)/OMEdit_ja.qm $(resourcedir)/OMEdit_ro.qm $(resourcedir)/OMEdit_fr.qm

install: build $(QM)
install: build qm
mkdir -p ../../build/share/doc/omedit/
cp -p ../../doc/OMEdit/*.pdf ../../build/share/doc/omedit/
mkdir -p ../../build/share/omedit/nls/
cp -p $(resourcedir)/*.qm ../../build/share/omedit/nls/
if [ "$(EXE)" = ".app" ]; then cp -rp ../bin/OMEdit.app ../../build/Applications/ ; else cp -p ../bin/OMEdit ../../build/bin/OMEdit; fi

%.qm: %.ts
lrelease $<
qm:
for TS in Resources/nls/*.ts; do QM=`echo $$TS | sed s/ts/qm/`; test -f $$QM -a $$QM -nt $$TS || lrelease $$TS ; done

always:

Expand Down

0 comments on commit 1479b8f

Please sign in to comment.