]> arthur.barton.de Git - backup-script.git/blobdiff - bin/Makefile
Implement very trivial first "make check" tests
[backup-script.git] / bin / Makefile
index 38c6c3a85beb18c15956c01864c992a8f57e0561..b9048d6d2836b97ffe83cd3447d5bbb9a8c163f1 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,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