X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=bin%2FMakefile;h=b9048d6d2836b97ffe83cd3447d5bbb9a8c163f1;hb=51e8c14f812714bb1bdad1d119be56ca79cb2076;hp=38c6c3a85beb18c15956c01864c992a8f57e0561;hpb=0c1c6907b4cb64d6bdadbafe0ce51c330f92843c;p=backup-script.git diff --git a/bin/Makefile b/bin/Makefile index 38c6c3a..b9048d6 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -3,7 +3,7 @@ # Copyright (c)2008-2015 Alexander Barton # -include ../Makefile.ax +include ../lib/Makefile.ax install-local: install -d -o $(USER) -g $(GROUP) -m 755 \ @@ -14,3 +14,7 @@ install-local: $(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