summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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))
-