xref: /freebsd/contrib/libxo/xolint/Makefile.am (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1#
2# Copyright 2014, Juniper Networks, Inc.
3# All rights reserved.
4# This SOFTWARE is licensed under the LICENSE provided in the
5# ../Copyright file. By downloading, installing, copying, or otherwise
6# using the SOFTWARE, you agree to be bound by the terms of that
7# LICENSE.
8
9man_MANS = xolint.1
10
11EXTRA_DIST = xolint.1 xolint.pl
12
13install-exec-hook:
14	install ${srcdir}/xolint.pl ${DESTDIR}${bindir}/xolint
15
16uninstall-hook:
17	rm -f ${DESTDIR}${bindir}/xolint
18
19install-data-hook:
20	for file in ${man_MANS}; do \
21	    cat ../libxo/add.man >> ${DESTDIR}${man1dir}/$$file ; done
22