diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -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)) - |