]> arthur.barton.de Git - ax-unix.git/commitdiff
mail-wrapper: Add simple "check-local" target
authorAlexander Barton <alex@barton.de>
Fri, 27 Oct 2017 10:37:37 +0000 (12:37 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 27 Oct 2017 10:37:37 +0000 (12:37 +0200)
mail/wrapper/Makefile

index 9843e509817467e29b0ef037394d53007d4117da..cadead7e4c67a293d9f6ca57c76bc6a7b9ce6036 100644 (file)
@@ -12,6 +12,9 @@ ALL = mail-wrapper
 
 include ../../Makefile.ax
 
+check-local:
+       ./mail-wrapper --help 2>&1 | grep 'mail-wrapper reads from standard input' >/dev/null
+
 install-local: mail-wrapper
        install -d -o $(USER) -g $(GROUP) -m 755 \
         $(DESTDIR)/usr/local/bin