add clean make target
[zeroinstall/solver.git] / Makefile
blob4cb8042fddccc2f00d61e45e7caae514d3445e68
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 clean:
21 $(PYTHON) setup.py clean
23 .PHONY: all install clean