X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=c6766f9c0871e152e8a34c5100a64ddde0050d77;hb=f0de0edb7b3e018a68794955e57685dec579eeeb;hp=0000000000000000000000000000000000000000;hpb=976a4b5f5e03ee66801b3e25f9330963d8cd8cc2;p=backup-script.git diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c6766f9 --- /dev/null +++ b/Makefile @@ -0,0 +1,34 @@ +# +# backup-script system for cloning systems using rsync +# Copyright (c)2008-2013 Alexander Barton, alex@barton.de +# + +PREFIX = /usr/local + +all: + +clean: + +distclean: clean + +maintainer-clean: distclean + +check: + +install: + install -d -o root -g root -m 755 \ + $(DESTDIR)$(PREFIX)/sbin + install -o root -g root -m 755 bin/backup-script \ + $(DESTDIR)$(PREFIX)/sbin/backup-script + install -o root -g root -m 755 bin/backup-script-wrapper \ + $(DESTDIR)$(PREFIX)/sbin/backup-script-wrapper + install -o root -g root -m 755 bin/backup-status \ + $(DESTDIR)$(PREFIX)/sbin/backup-status + install -d -o root -g root -m 755 \ + $(DESTDIR)$(PREFIX)/etc/backup-script.d + install -d -o root -g root -m 755 $(DESTDIR)/etc + test -e $(DESTDIR)/etc/backup-script.d \ + || ln -s $(DESTDIR)$(PREFIX)/etc/backup-script.d \ + $(DESTDIR)/etc/backup-script.d + +.PHONY = all clean distclean maintainer-clean check install