Skip to content

Commit

Permalink
make translations optional (issue #85)
Browse files Browse the repository at this point in the history
  • Loading branch information
fluxer committed Jul 10, 2015
1 parent cefca0d commit 6344922
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ gui:
$(SED) -e 's|@VERSION@|$(VERSION)|' -e 's|@PREFIX@|$(PREFIX)|g' \
src/gui.py.in > src/gui.py
$(PYUIC) src/gui.ui -o src/gui_ui.py
ifneq ($(shell which $(LRELEASE)),)
$(PYLUPDATE) src/*.py -ts tr/customizer_bg_BG.ts
$(LRELEASE) tr/customizer_bg_BG.ts

endif

install: install-core install-gui

install-core:
Expand Down Expand Up @@ -70,8 +72,10 @@ install-gui:
$(DESTDIR)$(PREFIX)/share/menu/customizer
$(INSTALL) -m644 data/customizer.policy \
$(DESTDIR)$(PREFIX)/share/polkit-1/actions/customizer.policy
ifneq ($(shell which $(LRELEASE)),)
$(INSTALL) -dm755 $(DESTDIR)$(TRDIR)/
$(INSTALL) -m644 tr/*.qm $(DESTDIR)$(TRDIR)/
endif

uninstall:
$(RM) $(DESTDIR)$(PREFIX)/sbin/customizer
Expand Down

0 comments on commit 6344922

Please sign in to comment.