From 5fdcc11c33f8417b58033b474efb0a7a0ba2590e Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 7 Oct 2021 10:06:48 +0200 Subject: Add 'tarball' Target --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 * -- cgit v1.2.3-70-g09d2