diff options
author | xengineering <me@xengineering.eu> | 2021-09-03 10:22:49 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2021-09-03 10:22:49 +0200 |
commit | 935b009eecf02b6909a5563bae4a90c342f8d4e6 (patch) | |
tree | eb475e81be6458ea5146a7f971a45d67ae2cce83 /src/Makefile | |
parent | ef5d76d3feb0fbc147ec84c33486438295d9bbcf (diff) | |
download | xbackup-935b009eecf02b6909a5563bae4a90c342f8d4e6.tar xbackup-935b009eecf02b6909a5563bae4a90c342f8d4e6.tar.zst xbackup-935b009eecf02b6909a5563bae4a90c342f8d4e6.zip |
Implement Python Packaging
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..c3a3660 --- /dev/null +++ b/src/Makefile @@ -0,0 +1,14 @@ +# vim: shiftwidth=4 tabstop=4 noexpandtab + +DESTDIR="" # leave empty for the current system or provide a fakeroot here + +.PHONY: all clean install + +all: + python setup.py build + +clean: + rm -rf build + +install: all + python setup.py install --root=$(DESTDIR) --optimize=1 --skip-build |