]> git.ipfire.org Git - pakfire.git/blob - Makefile
Fix and faster creation of the repository index.
[pakfire.git] / Makefile
1
2 DESTDIR ?= /
3
4 all: po build
5
6 .PHONY: build
7 build:
8 python setup.py build
9
10 .PHONY: clean
11 clean:
12 python setup.py clean
13 -rm -rfv build
14
15 .PHONY: dist
16 dist:
17 python setup.py sdist
18
19 .PHONY: install
20 install:
21 python setup.py install --root $(DESTDIR)
22
23 -mkdir -pv $(DESTDIR)/etc/pakfire.repos.d
24 cp -vf examples/pakfire.conf $(DESTDIR)/etc/pakfire.conf
25 cp -vf examples/pakfire.repos.d/* $(DESTDIR)/etc/pakfire.repos.d/
26
27 .PHONY: check
28 check:
29 ./runpychecker.sh
30
31 .PHONY: po
32 po:
33 find pakfire -name "*.py" | grep -v "__version__.py" | sort > po/POTFILES.in