Use Socket.recv to fetch downloads
[zeroinstall/solver.git] / Makefile
blob79d37425f8e153acba3896362429f4998cd98eab
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_ $^
20 update-po: locale/zero-install.pot
21 @for po in locale/*/LC_MESSAGES/zero-install.po; do \
22 echo -e "Merge: $$po: \c"; \
23 msgmerge -v -U $$po locale/zero-install.pot; \
24 done
26 check-po:
27 @for po in locale/*/LC_MESSAGES/zero-install.po; do \
28 echo -e "Check: $$po: \c"; \
29 msgfmt -o /dev/null --statistics -v -c $$po; \
30 done
31 clean:
32 $(PYTHON) setup.py clean
34 .PHONY: all install update-po check-po clean