]> git.ipfire.org Git - pakfire.git/blobdiff - Makefile
Fix automatic dependency detection.
[pakfire.git] / Makefile
index 953957623215734f8f216d152b77bc9aad96ff95..cb76fe4097cab5bac049a7cab8a1b474fdc1e95a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ dist:
 
 .PHONY: install
 install: po
-       python setup.py install  --root $(DESTDIR)
+       python setup.py install --root=$(DESTDIR) --prefix=/usr
 
        -mkdir -pv $(DESTDIR)/etc/pakfire.repos.d
        cp -vf examples/pakfire.conf $(DESTDIR)/etc/pakfire.conf
@@ -30,4 +30,5 @@ check:
 
 .PHONY: po
 po:
-       find pakfire src -name "*.py" -or -name "*.c" | grep -v "__version__.py" | sort > po/POTFILES.in
+       find pakfire src scripts -name "*.py" -or -name "*.c" -or -name "pakfire" -and -type f | \
+               grep -v "__version__.py" | sort > po/POTFILES.in