2011-03-09 06:55:41 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# -*- makefile -*-
|
|
|
|
|
|
|
|
build:
|
2011-03-11 23:41:44 +00:00
|
|
|
mkdir -p resources/i18n/qm
|
2011-03-09 06:55:41 +00:00
|
|
|
for TSFILE in resources/i18n/*.ts; do\
|
2011-03-12 20:36:33 +00:00
|
|
|
lrelease-qt4 $$TSFILE -qm resources/i18n/qm/`basename $$TSFILE .ts`.qm;\
|
2011-03-09 06:55:41 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
install:
|
2011-03-12 20:36:33 +00:00
|
|
|
mkdir -p $(DESTDIR)/usr/share/openlp/i18n
|
|
|
|
cd resources/i18n/qm && for QMFILE in*.qm; do\
|
|
|
|
mv $QMFILE $(DESTDIR)/usr/share/openlp/i18n;\
|
|
|
|
done
|
2011-03-09 06:55:41 +00:00
|
|
|
|
|
|
|
clean:
|
2011-03-11 23:41:44 +00:00
|
|
|
rm -fR resources/i18n/qm
|