summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--src/Makefile8
2 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0ab8d6e..f2f5125 100644
--- a/Makefile
+++ b/Makefile
@@ -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