|
Packit |
5ce601 |
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
Packit |
5ce601 |
#
|
|
Packit |
5ce601 |
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
Packit |
5ce601 |
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
Packit Service |
704ed8 |
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
Packit |
5ce601 |
#
|
|
Packit |
5ce601 |
# See the COPYRIGHT file distributed with this work for additional
|
|
Packit |
5ce601 |
# information regarding copyright ownership.
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
srcdir = @srcdir@
|
|
Packit |
5ce601 |
VPATH = @srcdir@
|
|
Packit |
5ce601 |
top_srcdir = @top_srcdir@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
@BIND9_MAKE_INCLUDES@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
PYTHON = @PYTHON@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
SUBDIRS = isc
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
TARGETS = dnssec-checkds dnssec-coverage dnssec-keymgr
|
|
Packit |
5ce601 |
PYSRCS = dnssec-checkds.py dnssec-coverage.py dnssec-keymgr.py
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
MANPAGES = dnssec-checkds.8 dnssec-coverage.8 dnssec-keymgr.8
|
|
Packit |
5ce601 |
HTMLPAGES = dnssec-checkds.html dnssec-coverage.html dnssec-keymgr.html
|
|
Packit |
5ce601 |
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
@BIND9_MAKE_RULES@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
dnssec-checkds: dnssec-checkds.py
|
|
Packit |
5ce601 |
cp -f dnssec-checkds.py dnssec-checkds
|
|
Packit |
5ce601 |
chmod +x dnssec-checkds
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
dnssec-coverage: dnssec-coverage.py
|
|
Packit |
5ce601 |
cp -f dnssec-coverage.py dnssec-coverage
|
|
Packit |
5ce601 |
chmod +x dnssec-coverage
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
dnssec-keymgr: dnssec-keymgr.py
|
|
Packit |
5ce601 |
cp -f dnssec-keymgr.py dnssec-keymgr
|
|
Packit |
5ce601 |
chmod +x dnssec-keymgr
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
doc man:: ${MANOBJS}
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
docclean manclean maintainer-clean::
|
|
Packit |
5ce601 |
rm -f ${MANOBJS}
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
installdirs:
|
|
Packit |
5ce601 |
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
|
|
Packit |
5ce601 |
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
|
|
Packit |
5ce601 |
|
|
Packit Service |
d3afd5 |
install:: ${TARGETS} installdirs
|
|
Packit |
5ce601 |
${INSTALL_SCRIPT} dnssec-checkds ${DESTDIR}${sbindir}
|
|
Packit |
5ce601 |
${INSTALL_SCRIPT} dnssec-coverage ${DESTDIR}${sbindir}
|
|
Packit |
5ce601 |
${INSTALL_SCRIPT} dnssec-keymgr ${DESTDIR}${sbindir}
|
|
Packit Service |
d3afd5 |
${INSTALL_DATA} ${srcdir}/dnssec-checkds.8 ${DESTDIR}${mandir}/man8
|
|
Packit Service |
d3afd5 |
${INSTALL_DATA} ${srcdir}/dnssec-coverage.8 ${DESTDIR}${mandir}/man8
|
|
Packit Service |
d3afd5 |
${INSTALL_DATA} ${srcdir}/dnssec-keymgr.8 ${DESTDIR}${mandir}/man8
|
|
Packit |
5ce601 |
if test -n "${PYTHON}" ; then \
|
|
Packit |
5ce601 |
if test -n "${DESTDIR}" ; then \
|
|
Packit |
5ce601 |
${PYTHON} ${srcdir}/setup.py install --root=${DESTDIR} --prefix=${prefix} @PYTHON_INSTALL_LIB@ ; \
|
|
Packit |
5ce601 |
else \
|
|
Packit |
5ce601 |
${PYTHON} ${srcdir}/setup.py install --prefix=${prefix} @PYTHON_INSTALL_LIB@ ; \
|
|
Packit |
5ce601 |
fi ; \
|
|
Packit |
5ce601 |
rm -rf build ; \
|
|
Packit |
5ce601 |
fi
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
uninstall::
|
|
Packit |
5ce601 |
rm -f ${DESTDIR}${mandir}/man8/dnssec-keymgr.8
|
|
Packit |
5ce601 |
rm -f ${DESTDIR}${mandir}/man8/dnssec-coverage.8
|
|
Packit |
5ce601 |
rm -f ${DESTDIR}${mandir}/man8/dnssec-checkds.8
|
|
Packit |
5ce601 |
rm -f ${DESTDIR}${sbindir}/dnssec-keymgr
|
|
Packit |
5ce601 |
rm -f ${DESTDIR}${sbindir}/dnssec-coverage
|
|
Packit |
5ce601 |
rm -f ${DESTDIR}${sbindir}/dnssec-checkds
|
|
Packit |
5ce601 |
# only manually uninstall for the python package itself
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
clean distclean::
|
|
Packit |
5ce601 |
rm -f ${TARGETS}
|
|
Packit |
5ce601 |
rm -rf build
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
distclean::
|
|
Packit |
5ce601 |
rm -f dnssec-checkds.py dnssec-coverage.py dnssec-keymgr.py
|