check if locale directory exists first
[zeroinstall/solver.git] / Makefile
blob27d9a8fb36f9cb72e96a17a9b3396de2c622f55c
3 PYTHON=python
5 PY = $(shell find zeroinstall -name '*.py')
6 GLADE = $(shell find zeroinstall -name '*.glade' | sed -e 's/.glade/&.h/')
8 all:
9 $(PYTHON) setup.py build
11 install:
12 $(PYTHON) setup.py install
14 %.glade.h: %.glade
15 intltool-extract --type=gettext/glade --update "$<"
17 locale/zero-install.pot: $(PY) $(GLADE)
18 xgettext --language=Python --output=$@ --keyword=_ --keyword=N_ $^