summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2021-10-07 10:26:37 +0200
committerxengineering <me@xengineering.eu>2021-10-07 10:26:37 +0200
commit4097ba01653f6c7eb5d46869a014e12e8eb491aa (patch)
treecc10d55e9d52cc40a76958342bea2cc132523b0d
parent74aa75b1d11d2e99b4fc6060699846ff7f362f96 (diff)
downloadxbackup-4097ba01653f6c7eb5d46869a014e12e8eb491aa.tar
xbackup-4097ba01653f6c7eb5d46869a014e12e8eb491aa.tar.zst
xbackup-4097ba01653f6c7eb5d46869a014e12e8eb491aa.zip
Fix Bug in Build Process
-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