include Makeconfig
-SUBDIRS = po python scripts
+SUBDIRS = po python tools tools/fake-environ
all: build
cp -vf macros/*.macro $(DESTDIR)$(PREFIX)/lib/pakfire/macros
# Install example configuration.
- -mkdir -pv $(DESTDIR)/etc/pakfire.repos.d
- cp -vf examples/pakfire.conf $(DESTDIR)/etc/pakfire.conf
- cp -vf examples/pakfire.repos.d/* $(DESTDIR)/etc/pakfire.repos.d/
+ -mkdir -pv $(DESTDIR)/etc/pakfire/repos
+ for file in general.conf builder.conf client.conf daemon.conf distros; do \
+ [ -e "$(DESTDIR)/etc/pakfire/$${file}" ] && continue; \
+ cp -rvf examples/$${file} $(DESTDIR)/etc/pakfire/; \
+ done
.PHONY: check
-check:
- ./runpychecker.sh
+check: all
+ PYTHONPATH=python/src/ pylint -E python/pakfire
+
+.PHONY: po
+po:
+ $(MAKE) -C po
+
+.PHONY: pot
+pot:
+ $(MAKE) -C po pot