2012-08-21 22:10:30 +02:00
|
|
|
all:
|
2012-11-10 18:59:03 +01:00
|
|
|
-lrelease i18n/Qwad_de.ts
|
2012-08-21 22:10:30 +02:00
|
|
|
|
|
|
|
clean:
|
2012-11-10 18:14:54 +01:00
|
|
|
rm -rf GUI/__pycache__/
|
|
|
|
rm -f *.pyc
|
|
|
|
rm -f **/*.pyc
|
2012-08-21 22:10:30 +02:00
|
|
|
|
|
|
|
install:
|
2012-08-24 22:46:40 +02:00
|
|
|
mkdir -p $(DESTDIR)/usr/share/Qwad/i18n
|
2012-08-21 22:10:30 +02:00
|
|
|
mkdir -p $(DESTDIR)/usr/bin
|
|
|
|
install -m755 qwad $(DESTDIR)/usr/bin
|
2012-11-10 18:59:03 +01:00
|
|
|
install -m644 i18n/*.qm $(DESTDIR)/usr/share/Qwad/i18n
|
2012-11-11 00:43:43 +01:00
|
|
|
cp -r GUI WiiPy TitleIDs.py i18n Qwad.pyw Qwad_rc.py icons README COPYING AUTHORS $(DESTDIR)/usr/share/Qwad/
|
2012-08-21 22:10:30 +02:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
rm -f $(DESTDIR)/usr/bin/qwad
|
|
|
|
rm -rf $(DESTDIR)/usr/share/Qwad/
|
2012-08-21 22:34:48 +02:00
|
|
|
|
|
|
|
update-trans:
|
|
|
|
pylupdate4 Qwad.pro
|
|
|
|
mv *.ts i18n/
|
|
|
|
sed -e 's,filename=\",filename=\"../,g' -i i18n/*.ts
|