]> arthur.barton.de Git - ax-unix.git/blob - mail/wrapper/Makefile
Correctly quote variables in mail-wrapper Makefile
[ax-unix.git] / mail / wrapper / Makefile
1 #
2 # ax-unix: Alex' UNIX Tools & Scripts
3 # Copyright (c)2013-2018 Alexander Barton (alex@barton.de)
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 #
10
11 ALL = mail-wrapper
12
13 include ../../Makefile.ax
14
15 check-local:
16         ./mail-wrapper --help 2>&1 | grep 'mail-wrapper reads from standard input' >/dev/null
17
18 install-local: mail-wrapper
19         install -d -o "$(USER)" -g "$(GROUP)" -m 755 \
20          "$(DESTDIR)$(PREFIX)/bin"
21         install -p -o "$(USER)" -g "$(GROUP)" -m 755 mail-wrapper \
22          "$(DESTDIR)$(PREFIX)/bin/mail-wrapper"