summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2021-10-07 09:35:25 +0200
committerxengineering <me@xengineering.eu>2021-10-07 09:37:57 +0200
commitc17edc9e2a2e67ae9ec84c561fc82b97a59542e1 (patch)
tree15a208197fa33f0d0f2d8a2f85ec9ea8dd58095c /Makefile
parentd2a9b00c72ce6b5846a4d260a5d99c5db422723d (diff)
downloadxbackup-c17edc9e2a2e67ae9ec84c561fc82b97a59542e1.tar
xbackup-c17edc9e2a2e67ae9ec84c561fc82b97a59542e1.tar.zst
xbackup-c17edc9e2a2e67ae9ec84c561fc82b97a59542e1.zip
Remove Arch Linux Packaging from this Source Repository
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 12b7a6f..589b3f6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,13 @@
-# vim: shiftwidth=4 tabstop=4 noexpandtab
+# vim: shiftwidth=4 softtabstop=4 tabstop=4 noexpandtab
+
DESTDIR="" # leave empty for the current system or provide a fakeroot here
PREFIX="/usr"
-.PHONY: all clean install
-all:
- make -C src all
+.PHONY: install
-clean:
- make -C src clean
- find . -type d -iname '__pycache__' -exec rm -rf {} +;
-install: all
+install:
+ install -Dm 644 config/default.json $(DESTDIR)/etc/xbackup/config.json
make -C src install DESTDIR=$(abspath $(DESTDIR))
-