#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk

build/tmlauncher::
	msgfmt po/fr.po -o po/fr.mo

install/tmlauncher::
	install -m 0755 TMLauncher.py $(CURDIR)/debian/tmlauncher/usr/bin
	install -m 0644 TMLauncher.desktop $(CURDIR)/debian/tmlauncher/usr/share/applications
	install -m 0644 TMLauncher.glade $(CURDIR)/debian/tmlauncher/usr/share/TMLauncher
	install -m 0644 TMLauncher.svg $(CURDIR)/debian/tmlauncher/usr/share/icons/hicolor/scalable/apps
	install -m 0644 po/fr.mo $(CURDIR)/debian/tmlauncher/usr/share/locale/fr/LC_MESSAGES/TMLauncher.mo

clean::
	rm -f po/*.mo
