2 # ax-unix: Alex' UNIX Tools & Scripts
3 # Copyright (c)2013-2016 Alexander Barton (alex@barton.de)
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.
11 ALL = README ax-common.sh
13 include ../../Makefile.ax
15 install-local: ax-common.sh
16 [ -d "$(DESTDIR)$(PREFIX)/lib/ax" ] || \
17 install -d -o "$(USER)" -g "$(GROUP)" -m 755 \
18 "$(DESTDIR)$(PREFIX)/lib/ax"
19 install -p -o "$(USER)" -g "$(GROUP)" -m 644 README \
20 "$(DESTDIR)$(PREFIX)/lib/ax/README"
21 install -p -o "$(USER)" -g "$(GROUP)" -m 644 ax-common.sh \
22 "$(DESTDIR)$(PREFIX)/lib/ax/ax-common.sh"