From: Michael Tremer Date: Sun, 13 Feb 2011 15:35:16 +0000 (+0100) Subject: Add Makefile. X-Git-Tag: 0.9.3~173 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abea00b291ec6204feebec43c3c8244b335de6b9;p=pakfire.git Add Makefile. --- diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..c0a3ae4cd --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ + +DESTDIR ?= / + +all: build + +.PHONY: build +build: + python setup.py build + +.PHONY: clean +clean: + python setup.py clean + +.PHONY: dist +dist: + python setup.py sdist + +.PHONY: install +install: + python setup.py install --root $(DESTDIR) + + -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/