summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2021-10-07 10:06:48 +0200
committerxengineering <me@xengineering.eu>2021-10-07 10:06:48 +0200
commit5fdcc11c33f8417b58033b474efb0a7a0ba2590e (patch)
tree7f71f7debd63e64b1419a9e762ca607b01d1122c /Makefile
parent718d0408b791a88f212eaf4d7c6ad725f22ca11b (diff)
downloadxbackup-5fdcc11c33f8417b58033b474efb0a7a0ba2590e.tar
xbackup-5fdcc11c33f8417b58033b474efb0a7a0ba2590e.tar.zst
xbackup-5fdcc11c33f8417b58033b474efb0a7a0ba2590e.zip
Add 'tarball' Target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6306781..6c85d5f 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ DESTDIR="" # leave empty for the current system or provide a fakeroot here
PREFIX="/usr"
-.PHONY: clean install
+.PHONY: clean install tarball
clean:
@@ -15,3 +15,7 @@ clean:
install:
install -Dm 644 config/default.json $(DESTDIR)/etc/xbackup/config.json
make -C src install DESTDIR=$(abspath $(DESTDIR))
+
+
+tarball: clean
+ tar --exclude-vcs -cvf xbackup.tar *