]> arthur.barton.de Git - backup-script.git/blobdiff - bin/Makefile
Slightly enhance "make check" ...
[backup-script.git] / bin / Makefile
index 38c6c3a85beb18c15956c01864c992a8f57e0561..492795b6a4f1870abc2dce3d09207e8c5d942808 100644 (file)
@@ -3,7 +3,7 @@
 # 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 \
@@ -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