xref: /freebsd/contrib/libxo/xolint/Makefile.am (revision 3b2324c3a800d7599f348c408f01908d0cef05a0)
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