diff options
author | xengineering <me@xengineering.eu> | 2021-10-07 10:06:48 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2021-10-07 10:06:48 +0200 |
commit | 5fdcc11c33f8417b58033b474efb0a7a0ba2590e (patch) | |
tree | 7f71f7debd63e64b1419a9e762ca607b01d1122c /Makefile | |
parent | 718d0408b791a88f212eaf4d7c6ad725f22ca11b (diff) | |
download | xbackup-5fdcc11c33f8417b58033b474efb0a7a0ba2590e.tar xbackup-5fdcc11c33f8417b58033b474efb0a7a0ba2590e.tar.zst xbackup-5fdcc11c33f8417b58033b474efb0a7a0ba2590e.zip |
Add 'tarball' Target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 * |