2 # backup-script system for cloning systems using rsync
3 # Copyright (c)2008-2022 Alexander Barton <alex@barton.de>
6 include ../lib/Makefile.ax
9 install -d -o "$(USER)" -g "$(GROUP)" -m 755 \
10 "$(DESTDIR)$(PREFIX)/sbin"
11 install -o "$(USER)" -g "$(GROUP)" -m 755 backup-script \
12 "$(DESTDIR)$(PREFIX)/sbin/backup-script"
13 install -o "$(USER)" -g "$(GROUP)" -m 755 backup-script-wrapper \
14 "$(DESTDIR)$(PREFIX)/sbin/backup-script-wrapper"
15 install -o "$(USER)" -g "$(GROUP)" -m 755 backup-status \
16 "$(DESTDIR)$(PREFIX)/sbin/backup-status"
17 install -o "$(USER)" -g "$(GROUP)" -m 755 backup-audit \
18 "$(DESTDIR)$(PREFIX)/sbin/backup-audit"
21 ./backup-script --help 2>&1 | grep -F 'Usage: ' >/dev/null
22 ./backup-script --help 2>&1 | grep -F 'Configuration file is "' >/dev/null
23 ./backup-status --help | grep -F 'Usage: ' >/dev/null
24 ./backup-audit --help | grep -F 'Usage: ' >/dev/null