2 # backup-script system for cloning systems using rsync
3 # Copyright (c)2008-2013 Alexander Barton, alex@barton.de
14 maintainer-clean: distclean
19 install -d -o root -g root -m 755 \
20 $(DESTDIR)$(PREFIX)/sbin
21 install -o root -g root -m 755 bin/backup-script \
22 $(DESTDIR)$(PREFIX)/sbin/backup-script
23 install -o root -g root -m 755 bin/backup-script-wrapper \
24 $(DESTDIR)$(PREFIX)/sbin/backup-script-wrapper
25 install -o root -g root -m 755 bin/backup-status \
26 $(DESTDIR)$(PREFIX)/sbin/backup-status
27 install -d -o root -g root -m 755 \
28 $(DESTDIR)$(PREFIX)/etc/backup-script.d
29 install -d -o root -g root -m 755 $(DESTDIR)/etc
30 test -e $(DESTDIR)/etc/backup-script.d \
31 || ln -s $(DESTDIR)$(PREFIX)/etc/backup-script.d \
32 $(DESTDIR)/etc/backup-script.d
34 .PHONY = all clean distclean maintainer-clean check install