summaryrefslogtreecommitdiff
path: root/Makefile
blob: 6306781f28f2831f9e1cb5e9d7e432bb8c3cd442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# vim: shiftwidth=4 softtabstop=4 tabstop=4 noexpandtab


DESTDIR=""  # leave empty for the current system or provide a fakeroot here
PREFIX="/usr"


.PHONY: clean install


clean:
	find . -type d -iname '__pycache__' -exec rm -rf {} +;


install:
	install -Dm 644 config/default.json $(DESTDIR)/etc/xbackup/config.json
	make -C src install DESTDIR=$(abspath $(DESTDIR))