]> arthur.barton.de Git - backup-script.git/blobdiff - bin/Makefile
Slightly enhance "make check" ...
[backup-script.git] / bin / Makefile
index d665571f7df59f71e2a3904e9ef7c29c8c9265a0..492795b6a4f1870abc2dce3d09207e8c5d942808 100644 (file)
@@ -14,3 +14,8 @@ 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 is "' >/dev/null
+       ./backup-status --help | fgrep 'Usage: ' >/dev/null