#
# backup-script system for cloning systems using rsync
-# Copyright (c)2008-2014 Alexander Barton, alex@barton.de
+# Copyright (c)2008-2022 Alexander Barton, alex@barton.de
#
SUBDIRS = bin etc examples
include ./lib/Makefile.ax
install-local:
- install -d -o $(USER) -g $(GROUP) -m 755 \
- $(DESTDIR)$(PREFIX)/etc/backup-script.d
+ install -d -o "$(USER)" -g "$(GROUP)" -m 755 \
+ "$(DESTDIR)$(PREFIX)/etc/backup-script.d"
#
# backup-script system for cloning systems using rsync
-# Copyright (c)2008-2017 Alexander Barton <alex@barton.de>
+# Copyright (c)2008-2022 Alexander Barton <alex@barton.de>
#
include ../lib/Makefile.ax
install-local:
- install -d -o $(USER) -g $(GROUP) -m 755 \
- $(DESTDIR)$(PREFIX)/sbin
- install -o $(USER) -g $(GROUP) -m 755 backup-script \
- $(DESTDIR)$(PREFIX)/sbin/backup-script
- install -o $(USER) -g $(GROUP) -m 755 backup-script-wrapper \
- $(DESTDIR)$(PREFIX)/sbin/backup-script-wrapper
- install -o $(USER) -g $(GROUP) -m 755 backup-status \
- $(DESTDIR)$(PREFIX)/sbin/backup-status
- install -o $(USER) -g $(GROUP) -m 755 backup-audit \
- $(DESTDIR)$(PREFIX)/sbin/backup-audit
+ install -d -o "$(USER)" -g "$(GROUP)" -m 755 \
+ "$(DESTDIR)$(PREFIX)/sbin"
+ install -o "$(USER)" -g "$(GROUP)" -m 755 backup-script \
+ "$(DESTDIR)$(PREFIX)/sbin/backup-script"
+ install -o "$(USER)" -g "$(GROUP)" -m 755 backup-script-wrapper \
+ "$(DESTDIR)$(PREFIX)/sbin/backup-script-wrapper"
+ install -o "$(USER)" -g "$(GROUP)" -m 755 backup-status \
+ "$(DESTDIR)$(PREFIX)/sbin/backup-status"
+ install -o "$(USER)" -g "$(GROUP)" -m 755 backup-audit \
+ "$(DESTDIR)$(PREFIX)/sbin/backup-audit"
check-local:
./backup-script --help 2>&1 | grep -F 'Usage: ' >/dev/null