# Copyright (c)2008-2015 Alexander Barton <alex@barton.de>
#
-include ../Makefile.ax
+include ../lib/Makefile.ax
install-local:
install -d -o $(USER) -g $(GROUP) -m 755 \
$(DESTDIR)$(PREFIX)/sbin/backup-script-wrapper
install -o $(USER) -g $(GROUP) -m 755 backup-status \
$(DESTDIR)$(PREFIX)/sbin/backup-status
+
+check-local:
+ ./backup-script --help | fgrep 'Usage' >/dev/null
+ ./backup-script --help | fgrep 'Configuration file' >/dev/null