diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | src/Makefile | 8 |
2 files changed, 11 insertions, 3 deletions
@@ -5,7 +5,11 @@ DESTDIR="" # leave empty for the current system or provide a fakeroot here PREFIX="/usr" -.PHONY: clean install tarball +.PHONY: all clean install tarball + + +all: + make -C src all clean: diff --git a/src/Makefile b/src/Makefile index 6797f80..5401e84 100644 --- a/src/Makefile +++ b/src/Makefile @@ -4,12 +4,16 @@ DESTDIR="" # leave empty for the current system or provide a fakeroot here -.PHONY: clean install +.PHONY: all clean install + + +all: + python3 setup.py build clean: rm -rf build -install: +install: all python3 setup.py install --root=$(DESTDIR) --optimize=1 --skip-build |