nut/docs/man/Makefile.in

1713 lines
60 KiB
Makefile
Raw Normal View History

2022-06-29 10:37:36 +00:00
# Makefile.in generated by automake 1.16.3 from Makefile.am.
2010-03-25 23:20:59 +00:00
# @configure_input@
2022-06-29 10:37:36 +00:00
# Copyright (C) 1994-2020 Free Software Foundation, Inc.
2015-04-30 13:53:36 +00:00
2010-03-25 23:20:59 +00:00
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
# Network UPS Tools: man
2011-01-26 09:35:08 +00:00
#
# Notes:
# - sources (.txt) and groff formats are both distributed,
# - only sources are versioned ; groff files are generated at worst
2022-06-29 10:37:36 +00:00
# during 'make dist' (while preparing a release tarball)
2011-01-26 09:35:08 +00:00
# - HTML files are built upon request, if AsciiDoc is available,
# - groff update will only happen if AsciiDoc is available too,
2011-09-29 18:14:46 +00:00
# - all this can probably (and hopefully) be improved, but I've not
# found a way to do pattern replacement on the fly for target deps!
# FIXME: investigate an autogen.sh hook
2011-01-26 09:35:08 +00:00
# - Ref: http://www.gnu.org/software/hello/manual/automake/Man-pages.html
2022-06-29 10:37:36 +00:00
# - WITH_MANS can be enabled if either we are building man-pages, or if
# the --with-doc=man=auto detected an inability to build the man-pages
# but enabled the DOC_INSTALL_DISTED_MANS toggle so we deliver disted
# files from source tree
2010-03-25 23:20:59 +00:00
VPATH = @srcdir@
2022-06-29 10:37:36 +00:00
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
false; \
elif test -n '$(MAKE_HOST)'; then \
true; \
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
true; \
else \
false; \
fi; \
}
2015-04-30 13:53:36 +00:00
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
"target option '$${target_option-}' specified" >&2; \
exit 1;; \
esac; \
has_opt=no; \
sane_makeflags=$$MAKEFLAGS; \
if $(am__is_gnu_make); then \
sane_makeflags=$$MFLAGS; \
else \
2013-11-24 15:00:12 +00:00
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
2015-04-30 13:53:36 +00:00
bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
2013-11-24 15:00:12 +00:00
esac; \
2015-04-30 13:53:36 +00:00
fi; \
skip_next=no; \
strip_trailopt () \
{ \
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
2010-03-25 23:20:59 +00:00
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
2011-01-26 09:35:08 +00:00
@WITH_CGI_TRUE@am__append_1 = $(MAN5_CGI_PAGES)
@WITH_CGI_TRUE@am__append_2 = $(MAN8_CGI_PAGES)
# Drivers related manpages
# (--with-drivers=...)
@SOME_DRIVERS_TRUE@am__append_3 = $(DRIVER_MAN_LIST)
@SOME_DRIVERS_FALSE@@WITH_SERIAL_TRUE@am__append_4 = $(MAN_SERIAL_PAGES)
@SOME_DRIVERS_FALSE@@WITH_SNMP_TRUE@am__append_5 = $(MAN_SNMP_PAGES)
@SOME_DRIVERS_FALSE@@WITH_USB_TRUE@am__append_6 = $(MAN_USB_LIBUSB_PAGES)
2022-06-29 10:37:36 +00:00
@SOME_DRIVERS_FALSE@@WITH_SERIAL_TRUE@am__append_7 = $(MAN_SERIAL_USB_PAGES)
@SOME_DRIVERS_FALSE@@WITH_SERIAL_FALSE@@WITH_USB_TRUE@am__append_8 = $(MAN_SERIAL_USB_PAGES)
@SOME_DRIVERS_FALSE@@WITH_NEON_TRUE@am__append_9 = $(MAN_NETXML_PAGES)
@SOME_DRIVERS_FALSE@@WITH_LIBPOWERMAN_TRUE@am__append_10 = $(MAN_POWERMAN_PAGES)
@SOME_DRIVERS_FALSE@@WITH_IPMI_TRUE@am__append_11 = $(MAN_IPMIPSU_PAGES)
@SOME_DRIVERS_FALSE@@WITH_MACOSX_TRUE@am__append_12 = $(MAN_MACOSX_PAGES)
@SOME_DRIVERS_FALSE@@WITH_MODBUS_TRUE@am__append_13 = $(MAN_MODBUS_PAGES)
@SOME_DRIVERS_FALSE@@WITH_LINUX_I2C_TRUE@am__append_14 = $(MAN_LINUX_I2C_PAGES)
@WITH_MANS_TRUE@am__append_15 = \
@WITH_MANS_TRUE@ $(MAN_CONF_PAGES) \
@WITH_MANS_TRUE@ $(MAN_CLIENT_PAGES) \
@WITH_MANS_TRUE@ $(MAN_TOOL_PAGES) \
@WITH_MANS_TRUE@ $(MAN5_CGI_PAGES) \
@WITH_MANS_TRUE@ $(MAN8_CGI_PAGES) \
@WITH_MANS_TRUE@ $(MAN1_DEV_PAGES) \
@WITH_MANS_TRUE@ $(MAN3_DEV_PAGES) \
@WITH_MANS_TRUE@ $(MAN_SERIAL_PAGES) \
@WITH_MANS_TRUE@ $(MAN_SNMP_PAGES) \
@WITH_MANS_TRUE@ $(MAN_USB_LIBUSB_PAGES) \
@WITH_MANS_TRUE@ $(MAN_SERIAL_USB_PAGES) \
@WITH_MANS_TRUE@ $(MAN_NETXML_PAGES) \
@WITH_MANS_TRUE@ $(MAN_POWERMAN_PAGES) \
@WITH_MANS_TRUE@ $(MAN_IPMIPSU_PAGES) \
@WITH_MANS_TRUE@ $(MAN_MACOSX_PAGES) \
@WITH_MANS_TRUE@ $(MAN_MODBUS_PAGES) \
@WITH_MANS_TRUE@ $(MAN_LINUX_I2C_PAGES)
# Cause "make dist" to fail, unless caller (like the stack of distcheck-dmf)
# runs ./configure --with-doc=skip (or --with-doc=man=skip specifically)
@SKIP_MANS_FALSE@@WITH_MANS_FALSE@am__append_16 = dist
@HAVE_ASCIIDOC_TRUE@am__append_17 = *.1 *.3 *.5 *.8 *.xml *.html *.pdf
2011-01-26 09:35:08 +00:00
subdir = docs/man
2010-03-25 23:20:59 +00:00
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
2022-06-29 10:37:36 +00:00
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_c___attribute__.m4 \
$(top_srcdir)/m4/ax_c_pragmas.m4 \
$(top_srcdir)/m4/ax_check_compile_flag.m4 \
$(top_srcdir)/m4/ax_compare_version.m4 \
$(top_srcdir)/m4/ax_run_or_link_ifelse.m4 \
2010-03-25 23:20:59 +00:00
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
$(top_srcdir)/m4/lt~obsolete.m4 \
$(top_srcdir)/m4/nut_arg_with.m4 \
2011-01-26 09:35:08 +00:00
$(top_srcdir)/m4/nut_check_asciidoc.m4 \
2022-06-29 10:37:36 +00:00
$(top_srcdir)/m4/nut_check_cppcheck.m4 \
$(top_srcdir)/m4/nut_check_headers_windows.m4 \
2011-09-29 18:14:46 +00:00
$(top_srcdir)/m4/nut_check_libavahi.m4 \
$(top_srcdir)/m4/nut_check_libfreeipmi.m4 \
2010-03-25 23:20:59 +00:00
$(top_srcdir)/m4/nut_check_libgd.m4 \
2012-01-24 10:22:33 +00:00
$(top_srcdir)/m4/nut_check_libltdl.m4 \
2022-06-29 10:37:36 +00:00
$(top_srcdir)/m4/nut_check_libmodbus.m4 \
2010-03-25 23:20:59 +00:00
$(top_srcdir)/m4/nut_check_libneon.m4 \
$(top_srcdir)/m4/nut_check_libnetsnmp.m4 \
2013-11-24 15:00:12 +00:00
$(top_srcdir)/m4/nut_check_libnss.m4 \
$(top_srcdir)/m4/nut_check_libopenssl.m4 \
2010-03-25 23:20:59 +00:00
$(top_srcdir)/m4/nut_check_libpowerman.m4 \
$(top_srcdir)/m4/nut_check_libusb.m4 \
$(top_srcdir)/m4/nut_check_libwrap.m4 \
$(top_srcdir)/m4/nut_check_os.m4 \
2022-06-29 10:37:36 +00:00
$(top_srcdir)/m4/nut_check_pkgconfig.m4 \
$(top_srcdir)/m4/nut_check_python.m4 \
$(top_srcdir)/m4/nut_compiler_family.m4 \
$(top_srcdir)/m4/nut_func_getnameinfo_argtypes.m4 \
2010-03-25 23:20:59 +00:00
$(top_srcdir)/m4/nut_report_feature.m4 \
2022-06-29 10:37:36 +00:00
$(top_srcdir)/m4/nut_stash_warnings.m4 \
2010-03-25 23:20:59 +00:00
$(top_srcdir)/m4/nut_type_socklen_t.m4 \
2014-04-22 18:39:47 +00:00
$(top_srcdir)/configure.ac
2010-03-25 23:20:59 +00:00
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
2022-06-29 10:37:36 +00:00
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
2010-03-25 23:20:59 +00:00
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/include/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
2015-04-30 13:53:36 +00:00
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 =
2010-03-25 23:20:59 +00:00
SOURCES =
DIST_SOURCES =
2013-11-24 15:00:12 +00:00
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
2010-03-25 23:20:59 +00:00
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
2013-11-24 15:00:12 +00:00
am__uninstall_files_from_dir = { \
test -z "$$files" \
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
2010-03-25 23:20:59 +00:00
man1dir = $(mandir)/man1
am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" \
"$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)"
man3dir = $(mandir)/man3
man5dir = $(mandir)/man5
man8dir = $(mandir)/man8
NROFF = nroff
2011-01-26 09:35:08 +00:00
MANS = $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
2015-04-30 13:53:36 +00:00
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
2022-06-29 10:37:36 +00:00
am__DIST_COMMON = $(srcdir)/Makefile.in
2010-03-25 23:20:59 +00:00
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
2011-01-26 09:35:08 +00:00
A2X = @A2X@
2010-03-25 23:20:59 +00:00
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
2015-04-30 13:53:36 +00:00
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
2010-03-25 23:20:59 +00:00
AR = @AR@
2011-01-26 09:35:08 +00:00
ASCIIDOC = @ASCIIDOC@
2013-11-24 15:00:12 +00:00
ASPELL = @ASPELL@
2022-06-29 10:37:36 +00:00
AUGPARSE = @AUGPARSE@
2010-03-25 23:20:59 +00:00
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BINDIR = @BINDIR@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CONFPATH = @CONFPATH@
CPP = @CPP@
2022-06-29 10:37:36 +00:00
CPPCHECK = @CPPCHECK@
2010-03-25 23:20:59 +00:00
CPPFLAGS = @CPPFLAGS@
2012-08-12 21:39:31 +00:00
CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@
CPPUNIT_LIBS = @CPPUNIT_LIBS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
2010-03-25 23:20:59 +00:00
CYGPATH_W = @CYGPATH_W@
2011-01-26 09:35:08 +00:00
DBLATEX = @DBLATEX@
2010-03-25 23:20:59 +00:00
DEFS = @DEFS@
DEPDIR = @DEPDIR@
2012-01-24 10:22:33 +00:00
DLLTOOL = @DLLTOOL@
2011-01-26 09:35:08 +00:00
DOC_BUILD_LIST = @DOC_BUILD_LIST@
2022-06-29 10:37:36 +00:00
DOC_CHECK_LIST = @DOC_CHECK_LIST@
2010-03-25 23:20:59 +00:00
DRIVER_BUILD_LIST = @DRIVER_BUILD_LIST@
DRIVER_INSTALL_TARGET = @DRIVER_INSTALL_TARGET@
DRIVER_MAN_LIST = @DRIVER_MAN_LIST@
2013-11-24 15:00:12 +00:00
DRVPATH = @DRVPATH@
2010-03-25 23:20:59 +00:00
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
2022-06-29 10:37:36 +00:00
# Is "egrep == grep -E" always valid? (maybe all a job for configure.ac)
EGREP = egrep
2010-03-25 23:20:59 +00:00
EXEEXT = @EXEEXT@
FGREP = @FGREP@
2022-06-29 10:37:36 +00:00
GDLIB_CONFIG = @GDLIB_CONFIG@
2010-03-25 23:20:59 +00:00
GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@
LDFLAGS = @LDFLAGS@
2011-09-29 18:14:46 +00:00
LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@
LIBAVAHI_LIBS = @LIBAVAHI_LIBS@
2016-07-18 00:11:41 +00:00
LIBDIR = @LIBDIR@
2010-03-25 23:20:59 +00:00
LIBGD_CFLAGS = @LIBGD_CFLAGS@
LIBGD_LDFLAGS = @LIBGD_LDFLAGS@
2011-09-29 18:14:46 +00:00
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@
LIBIPMI_LIBS = @LIBIPMI_LIBS@
2012-01-24 10:22:33 +00:00
LIBLTDL_CFLAGS = @LIBLTDL_CFLAGS@
LIBLTDL_LIBS = @LIBLTDL_LIBS@
2022-06-29 10:37:36 +00:00
LIBMODBUS_CFLAGS = @LIBMODBUS_CFLAGS@
LIBMODBUS_LIBS = @LIBMODBUS_LIBS@
2010-03-25 23:20:59 +00:00
LIBNEON_CFLAGS = @LIBNEON_CFLAGS@
2011-01-26 09:35:08 +00:00
LIBNEON_LIBS = @LIBNEON_LIBS@
2010-03-25 23:20:59 +00:00
LIBNETSNMP_CFLAGS = @LIBNETSNMP_CFLAGS@
2011-01-26 09:35:08 +00:00
LIBNETSNMP_LIBS = @LIBNETSNMP_LIBS@
2010-03-25 23:20:59 +00:00
LIBOBJS = @LIBOBJS@
LIBPOWERMAN_CFLAGS = @LIBPOWERMAN_CFLAGS@
2011-01-26 09:35:08 +00:00
LIBPOWERMAN_LIBS = @LIBPOWERMAN_LIBS@
2010-03-25 23:20:59 +00:00
LIBS = @LIBS@
LIBSSL_CFLAGS = @LIBSSL_CFLAGS@
2011-01-26 09:35:08 +00:00
LIBSSL_LIBS = @LIBSSL_LIBS@
2022-06-29 10:37:36 +00:00
LIBSSL_REQUIRES = @LIBSSL_REQUIRES@
2010-03-25 23:20:59 +00:00
LIBTOOL = @LIBTOOL@
2022-06-29 10:37:36 +00:00
LIBTOOL_DEPS = @LIBTOOL_DEPS@
2010-03-25 23:20:59 +00:00
LIBUSB_CFLAGS = @LIBUSB_CFLAGS@
2022-06-29 10:37:36 +00:00
LIBUSB_CONFIG = @LIBUSB_CONFIG@
2011-01-26 09:35:08 +00:00
LIBUSB_LIBS = @LIBUSB_LIBS@
2010-03-25 23:20:59 +00:00
LIBWRAP_CFLAGS = @LIBWRAP_CFLAGS@
2011-01-26 09:35:08 +00:00
LIBWRAP_LIBS = @LIBWRAP_LIBS@
2010-03-25 23:20:59 +00:00
LIPO = @LIPO@
LN_S = @LN_S@
2022-06-29 10:37:36 +00:00
LN_S_R = @LN_S_R@
2010-03-25 23:20:59 +00:00
LTLIBOBJS = @LTLIBOBJS@
2022-06-29 10:37:36 +00:00
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
2010-03-25 23:20:59 +00:00
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
2012-01-24 10:22:33 +00:00
MANIFEST_TOOL = @MANIFEST_TOOL@
2010-03-25 23:20:59 +00:00
MKDIR_P = @MKDIR_P@
NETLIBS = @NETLIBS@
2022-06-29 10:37:36 +00:00
NET_SNMP_CONFIG = @NET_SNMP_CONFIG@
2010-03-25 23:20:59 +00:00
NM = @NM@
NMEDIT = @NMEDIT@
2022-06-29 10:37:36 +00:00
NUT_DATADIR = @NUT_DATADIR@
NUT_LIBEXECDIR = @NUT_LIBEXECDIR@
2012-06-01 13:55:19 +00:00
NUT_NETVERSION = @NUT_NETVERSION@
2010-03-25 23:20:59 +00:00
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
OS_NAME = @OS_NAME@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
2012-06-01 13:55:19 +00:00
PIDPATH = @PIDPATH@
2011-09-29 18:14:46 +00:00
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
PORT = @PORT@
2022-06-29 10:37:36 +00:00
PYTHON = @PYTHON@
PYTHON2 = @PYTHON2@
PYTHON3 = @PYTHON3@
2010-03-25 23:20:59 +00:00
RANLIB = @RANLIB@
RUN_AS_GROUP = @RUN_AS_GROUP@
RUN_AS_USER = @RUN_AS_USER@
2012-06-01 13:55:19 +00:00
SBINDIR = @SBINDIR@
2010-03-25 23:20:59 +00:00
SED = @SED@
SERLIBS = @SERLIBS@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
2015-04-30 13:53:36 +00:00
SOURCE_HIGHLIGHT = @SOURCE_HIGHLIGHT@
2010-03-25 23:20:59 +00:00
STATEPATH = @STATEPATH@
STRIP = @STRIP@
SUN_LIBUSB = @SUN_LIBUSB@
2012-01-24 10:22:33 +00:00
TREE_VERSION = @TREE_VERSION@
2022-06-29 10:37:36 +00:00
VALGRIND = @VALGRIND@
2010-03-25 23:20:59 +00:00
VERSION = @VERSION@
WORDS_BIGENDIAN = @WORDS_BIGENDIAN@
2015-04-30 13:53:36 +00:00
XMLLINT = @XMLLINT@
XSLTPROC = @XSLTPROC@
2010-03-25 23:20:59 +00:00
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
2012-01-24 10:22:33 +00:00
ac_ct_AR = @ac_ct_AR@
2010-03-25 23:20:59 +00:00
ac_ct_CC = @ac_ct_CC@
2012-08-12 21:39:31 +00:00
ac_ct_CXX = @ac_ct_CXX@
2010-03-25 23:20:59 +00:00
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
2022-06-29 10:37:36 +00:00
auglensdir = @auglensdir@
2010-03-25 23:20:59 +00:00
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
cgiexecdir = @cgiexecdir@
datadir = @datadir@
datarootdir = @datarootdir@
2014-04-22 18:39:47 +00:00
devddir = @devddir@
2010-03-25 23:20:59 +00:00
docdir = @docdir@
driverexecdir = @driverexecdir@
2022-06-29 10:37:36 +00:00
dummy_PKG_CONFIG = @dummy_PKG_CONFIG@
dummy_PKG_CONFIG_CFLAGS = @dummy_PKG_CONFIG_CFLAGS@
dummy_PKG_CONFIG_LIBS = @dummy_PKG_CONFIG_LIBS@
2010-03-25 23:20:59 +00:00
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
hotplugdir = @hotplugdir@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
2015-04-30 13:53:36 +00:00
now = @now@
2010-03-25 23:20:59 +00:00
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
pkgconfigdir = @pkgconfigdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
2022-06-29 10:37:36 +00:00
runstatedir = @runstatedir@
2010-03-25 23:20:59 +00:00
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
2022-06-29 10:37:36 +00:00
systemdshutdowndir = @systemdshutdowndir@
2011-09-29 18:14:46 +00:00
systemdsystemunitdir = @systemdsystemunitdir@
2022-06-29 10:37:36 +00:00
systemdtmpfilesdir = @systemdtmpfilesdir@
2010-03-25 23:20:59 +00:00
target = @target@
target_alias = @target_alias@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
udevdir = @udevdir@
2022-06-29 10:37:36 +00:00
#EGREP = grep -E
2010-03-25 23:20:59 +00:00
2011-01-26 09:35:08 +00:00
# Base configuration and client manpages, always installed
SRC_CONF_PAGES = \
nut.conf.txt \
ups.conf.txt \
upsd.conf.txt \
upsd.users.txt \
upsmon.conf.txt \
upssched.conf.txt
2022-06-29 10:37:36 +00:00
@WITH_MANS_TRUE@MAN_CONF_PAGES = \
@WITH_MANS_TRUE@ nut.conf.5 \
@WITH_MANS_TRUE@ ups.conf.5 \
@WITH_MANS_TRUE@ upsd.conf.5 \
@WITH_MANS_TRUE@ upsd.users.5 \
@WITH_MANS_TRUE@ upsmon.conf.5 \
@WITH_MANS_TRUE@ upssched.conf.5
2011-01-26 09:35:08 +00:00
man5_MANS = $(MAN_CONF_PAGES) $(am__append_1)
HTML_CONF_MANS = \
nut.conf.html \
ups.conf.html \
upsd.conf.html \
upsd.users.html \
upsmon.conf.html \
upssched.conf.html
2022-06-29 10:37:36 +00:00
# NOTE: Currently SRC_DRIVERTOOL_PAGES are a separate list to generate
# a linkman-drivertool-names.txt file, but historically remain part of
# MAN/HTML_CLIENT_PAGES in the bigger picture.
SRC_DRIVERTOOL_PAGES = \
nut-driver-enumerator.txt \
upsdrvctl.txt \
upsdrvsvcctl.txt
2011-01-26 09:35:08 +00:00
SRC_CLIENT_PAGES = \
2022-06-29 10:37:36 +00:00
$(SRC_DRIVERTOOL_PAGES) \
2011-01-26 09:35:08 +00:00
nutupsdrv.txt \
upsc.txt \
upscmd.txt \
upsd.txt \
upslog.txt \
upsmon.txt \
upsrw.txt \
upssched.txt
2022-06-29 10:37:36 +00:00
@WITH_MANS_TRUE@MAN_CLIENT_PAGES = \
@WITH_MANS_TRUE@ nutupsdrv.8 \
@WITH_MANS_TRUE@ nut-driver-enumerator.8 \
@WITH_MANS_TRUE@ upsc.8 \
@WITH_MANS_TRUE@ upscmd.8 \
@WITH_MANS_TRUE@ upsd.8 \
@WITH_MANS_TRUE@ upsdrvctl.8 \
@WITH_MANS_TRUE@ upsdrvsvcctl.8 \
@WITH_MANS_TRUE@ upslog.8 \
@WITH_MANS_TRUE@ upsmon.8 \
@WITH_MANS_TRUE@ upsrw.8 \
@WITH_MANS_TRUE@ upssched.8
2011-01-26 09:35:08 +00:00
2011-09-29 18:14:46 +00:00
man8_MANS = $(MAN_CLIENT_PAGES) $(MAN_TOOL_PAGES) $(am__append_2) \
$(am__append_3) $(am__append_4) $(am__append_5) \
$(am__append_6) $(am__append_7) $(am__append_8) \
2022-06-29 10:37:36 +00:00
$(am__append_9) $(am__append_10) $(am__append_11) \
$(am__append_12) $(am__append_13) $(am__append_14)
2011-01-26 09:35:08 +00:00
HTML_CLIENT_MANS = \
nutupsdrv.html \
2022-06-29 10:37:36 +00:00
nut-driver-enumerator.html \
2011-01-26 09:35:08 +00:00
upsc.html \
upscmd.html \
upsd.html \
upsdrvctl.html \
2022-06-29 10:37:36 +00:00
upsdrvsvcctl.html \
2011-01-26 09:35:08 +00:00
upslog.html \
upsmon.html \
upsrw.html \
upssched.html
2012-06-01 13:55:19 +00:00
SRC_TOOL_PAGES = nut-scanner.txt nut-recorder.txt
2022-06-29 10:37:36 +00:00
@WITH_MANS_TRUE@MAN_TOOL_PAGES = nut-scanner.8 nut-recorder.8
2012-06-01 13:55:19 +00:00
HTML_TOOL_MANS = nut-scanner.html nut-recorder.html
2011-01-26 09:35:08 +00:00
# CGI (--with-cgi) related manpages
SRC_CGI_PAGES = \
hosts.conf.txt \
upsset.conf.txt \
upsstats.html.txt \
upsset.cgi.txt \
upsstats.cgi.txt \
upsimage.cgi.txt
2022-06-29 10:37:36 +00:00
@WITH_MANS_TRUE@MAN5_CGI_PAGES = \
@WITH_MANS_TRUE@ hosts.conf.5 \
@WITH_MANS_TRUE@ upsset.conf.5 \
@WITH_MANS_TRUE@ upsstats.html.5
2011-01-26 09:35:08 +00:00
2022-06-29 10:37:36 +00:00
@WITH_MANS_TRUE@MAN8_CGI_PAGES = \
@WITH_MANS_TRUE@ upsset.cgi.8 \
@WITH_MANS_TRUE@ upsstats.cgi.8 \
@WITH_MANS_TRUE@ upsimage.cgi.8
2011-01-26 09:35:08 +00:00
HTML_CGI_MANS = \
hosts.conf.html \
upsset.conf.html \
upsstats.html.html \
upsset.cgi.html \
upsstats.cgi.html \
upsimage.cgi.html
# Development (--with-dev) related manpages
SRC_DEV_PAGES = \
upsclient.txt \
2013-11-24 15:00:12 +00:00
upscli_add_host_cert.txt \
upscli_cleanup.txt \
2011-01-26 09:35:08 +00:00
upscli_connect.txt \
upscli_disconnect.txt \
upscli_fd.txt \
upscli_get.txt \
2013-11-24 15:00:12 +00:00
upscli_init.txt \
2011-01-26 09:35:08 +00:00
upscli_list_next.txt \
upscli_list_start.txt \
upscli_readline.txt \
upscli_sendline.txt \
upscli_splitaddr.txt \
upscli_splitname.txt \
upscli_ssl.txt \
upscli_strerror.txt \
upscli_upserror.txt \
2013-11-24 15:00:12 +00:00
libnutclient.txt \
libnutclient_commands.txt \
libnutclient_devices.txt \
libnutclient_general.txt \
libnutclient_misc.txt \
libnutclient_tcp.txt \
libnutclient_variables.txt \
2012-01-24 10:22:33 +00:00
nutscan.txt \
2011-09-29 18:14:46 +00:00
nutscan_scan_snmp.txt \
nutscan_scan_usb.txt \
2022-06-29 10:37:36 +00:00
nutscan_scan_xml_http_range.txt \
2011-09-29 18:14:46 +00:00
nutscan_scan_nut.txt \
nutscan_scan_avahi.txt \
nutscan_scan_ipmi.txt \
2013-11-24 15:00:12 +00:00
nutscan_scan_eaton_serial.txt \
2011-09-29 18:14:46 +00:00
nutscan_display_ups_conf.txt \
nutscan_display_parsable.txt \
nutscan_cidr_to_ip.txt \
nutscan_new_device.txt \
nutscan_free_device.txt \
nutscan_add_option_to_device.txt \
nutscan_add_device_to_device.txt \
2012-01-24 10:22:33 +00:00
nutscan_init.txt \
2013-11-24 15:00:12 +00:00
nutscan_get_serial_ports_list.txt \
2011-01-26 09:35:08 +00:00
libupsclient-config.txt \
skel.txt
2013-11-24 15:00:12 +00:00
# NOTE: nutclient_*.3 has no source counterpart (libnutclient_*.txt)
2022-06-29 10:37:36 +00:00
@WITH_MANS_TRUE@LIBNUTCLIENT_MISC_DEPS = \
@WITH_MANS_TRUE@ nutclient_authenticate.3 \
@WITH_MANS_TRUE@ nutclient_logout.3 \
@WITH_MANS_TRUE@ nutclient_device_login.3 \
@WITH_MANS_TRUE@ nutclient_get_device_num_logins.3 \
@WITH_MANS_TRUE@ nutclient_device_master.3 \
@WITH_MANS_TRUE@ nutclient_device_forced_shutdown.3
@WITH_MANS_TRUE@LIBNUTCLIENT_TCP_DEPS = \
@WITH_MANS_TRUE@ nutclient_tcp_create_client.3 \
@WITH_MANS_TRUE@ nutclient_tcp_disconnect.3 \
@WITH_MANS_TRUE@ nutclient_tcp_get_timeout.3 \
@WITH_MANS_TRUE@ nutclient_tcp_is_connected.3 \
@WITH_MANS_TRUE@ nutclient_tcp_reconnect.3 \
@WITH_MANS_TRUE@ nutclient_tcp_set_timeout.3
@WITH_MANS_TRUE@LIBNUTCLIENT_GENERAL_DEPS = \
@WITH_MANS_TRUE@ nutclient_destroy.3
@WITH_MANS_TRUE@LIBNUTCLIENT_VARIABLES_DEPS = \
@WITH_MANS_TRUE@ nutclient_get_device_rw_variables.3 \
@WITH_MANS_TRUE@ nutclient_get_device_variable_description.3 \
@WITH_MANS_TRUE@ nutclient_get_device_variables.3 \
@WITH_MANS_TRUE@ nutclient_get_device_variable_values.3 \
@WITH_MANS_TRUE@ nutclient_has_device_variable.3 \
@WITH_MANS_TRUE@ nutclient_set_device_variable_value.3 \
@WITH_MANS_TRUE@ nutclient_set_device_variable_values.3
@WITH_MANS_TRUE@LIBNUTCLIENT_COMMANDS_DEPS = \
@WITH_MANS_TRUE@ nutclient_execute_device_command.3 \
@WITH_MANS_TRUE@ nutclient_get_device_command_description.3 \
@WITH_MANS_TRUE@ nutclient_get_device_commands.3 \
@WITH_MANS_TRUE@ nutclient_has_device_command.3
@WITH_MANS_TRUE@LIBNUTCLIENT_DEVICES_DEPS = \
@WITH_MANS_TRUE@ nutclient_get_device_description.3 \
@WITH_MANS_TRUE@ nutclient_get_devices.3 \
@WITH_MANS_TRUE@ nutclient_has_device.3
@WITH_MANS_TRUE@MAN3_DEV_PAGES = \
@WITH_MANS_TRUE@ upsclient.3 \
@WITH_MANS_TRUE@ upscli_add_host_cert.3 \
@WITH_MANS_TRUE@ upscli_cleanup.3 \
@WITH_MANS_TRUE@ upscli_connect.3 \
@WITH_MANS_TRUE@ upscli_disconnect.3 \
@WITH_MANS_TRUE@ upscli_fd.3 \
@WITH_MANS_TRUE@ upscli_get.3 \
@WITH_MANS_TRUE@ upscli_init.3 \
@WITH_MANS_TRUE@ upscli_list_next.3 \
@WITH_MANS_TRUE@ upscli_list_start.3 \
@WITH_MANS_TRUE@ upscli_readline.3 \
@WITH_MANS_TRUE@ upscli_readline_timeout.3 \
@WITH_MANS_TRUE@ upscli_sendline.3 \
@WITH_MANS_TRUE@ upscli_sendline_timeout.3 \
@WITH_MANS_TRUE@ upscli_splitaddr.3 \
@WITH_MANS_TRUE@ upscli_splitname.3 \
@WITH_MANS_TRUE@ upscli_ssl.3 \
@WITH_MANS_TRUE@ upscli_strerror.3 \
@WITH_MANS_TRUE@ upscli_upserror.3 \
@WITH_MANS_TRUE@ libnutclient.3 \
@WITH_MANS_TRUE@ libnutclient_commands.3 \
@WITH_MANS_TRUE@ $(LIBNUTCLIENT_COMMANDS_DEPS) \
@WITH_MANS_TRUE@ libnutclient_devices.3 \
@WITH_MANS_TRUE@ $(LIBNUTCLIENT_DEVICES_DEPS) \
@WITH_MANS_TRUE@ libnutclient_general.3 \
@WITH_MANS_TRUE@ $(LIBNUTCLIENT_GENERAL_DEPS) \
@WITH_MANS_TRUE@ libnutclient_misc.3 \
@WITH_MANS_TRUE@ $(LIBNUTCLIENT_MISC_DEPS) \
@WITH_MANS_TRUE@ libnutclient_tcp.3 \
@WITH_MANS_TRUE@ $(LIBNUTCLIENT_TCP_DEPS) \
@WITH_MANS_TRUE@ libnutclient_variables.3 \
@WITH_MANS_TRUE@ $(LIBNUTCLIENT_VARIABLES_DEPS) \
@WITH_MANS_TRUE@ nutscan.3 \
@WITH_MANS_TRUE@ nutscan_scan_snmp.3 \
@WITH_MANS_TRUE@ nutscan_scan_usb.3 \
@WITH_MANS_TRUE@ nutscan_scan_xml_http_range.3 \
@WITH_MANS_TRUE@ nutscan_scan_nut.3 \
@WITH_MANS_TRUE@ nutscan_scan_avahi.3 \
@WITH_MANS_TRUE@ nutscan_scan_ipmi.3 \
@WITH_MANS_TRUE@ nutscan_scan_eaton_serial.3 \
@WITH_MANS_TRUE@ nutscan_display_ups_conf.3 \
@WITH_MANS_TRUE@ nutscan_display_parsable.3 \
@WITH_MANS_TRUE@ nutscan_cidr_to_ip.3 \
@WITH_MANS_TRUE@ nutscan_new_device.3 \
@WITH_MANS_TRUE@ nutscan_free_device.3 \
@WITH_MANS_TRUE@ nutscan_add_option_to_device.3 \
@WITH_MANS_TRUE@ nutscan_add_device_to_device.3 \
@WITH_MANS_TRUE@ nutscan_get_serial_ports_list.3 \
@WITH_MANS_TRUE@ nutscan_init.3
@WITH_MANS_TRUE@MAN1_DEV_PAGES = \
@WITH_MANS_TRUE@ libupsclient-config.1
2011-01-26 09:35:08 +00:00
@WITH_DEV_TRUE@man3_MANS = $(MAN3_DEV_PAGES)
@WITH_DEV_TRUE@@WITH_PKG_CONFIG_FALSE@man1_MANS = $(MAN1_DEV_PAGES)
# WITH_DEV
HTML_DEV_MANS = \
upsclient.html \
2013-11-24 15:00:12 +00:00
upscli_add_host_cert.html \
upscli_cleanup.html \
2011-01-26 09:35:08 +00:00
upscli_connect.html \
upscli_disconnect.html \
upscli_fd.html \
upscli_get.html \
2013-11-24 15:00:12 +00:00
upscli_init.html \
2011-01-26 09:35:08 +00:00
upscli_list_next.html \
upscli_list_start.html \
upscli_readline.html \
upscli_sendline.html \
upscli_splitaddr.html \
upscli_splitname.html \
upscli_ssl.html \
upscli_strerror.html \
upscli_upserror.html \
2013-11-24 15:00:12 +00:00
libnutclient.html \
libnutclient_commands.html \
libnutclient_devices.html \
libnutclient_general.html \
libnutclient_misc.html \
libnutclient_tcp.html \
libnutclient_variables.html \
2012-01-24 10:22:33 +00:00
nutscan.html \
2011-09-29 18:14:46 +00:00
nutscan_scan_snmp.html \
nutscan_scan_usb.html \
2022-06-29 10:37:36 +00:00
nutscan_scan_xml_http_range.html \
2011-09-29 18:14:46 +00:00
nutscan_scan_nut.html \
nutscan_scan_avahi.html \
nutscan_scan_ipmi.html \
2013-11-24 15:00:12 +00:00
nutscan_scan_eaton_serial.html \
2011-09-29 18:14:46 +00:00
nutscan_display_ups_conf.html \
nutscan_display_parsable.html \
nutscan_cidr_to_ip.html \
nutscan_new_device.html \
nutscan_free_device.html \
nutscan_add_option_to_device.html \
nutscan_add_device_to_device.html \
2013-11-24 15:00:12 +00:00
nutscan_get_serial_ports_list.html \
2012-01-24 10:22:33 +00:00
nutscan_init.html \
2011-01-26 09:35:08 +00:00
libupsclient-config.html \
skel.html
# (--with-serial)
@SOME_DRIVERS_FALSE@SRC_SERIAL_PAGES = \
2013-11-24 15:00:12 +00:00
@SOME_DRIVERS_FALSE@ al175.txt \
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@ apcsmart.txt \
2011-09-29 18:14:46 +00:00
@SOME_DRIVERS_FALSE@ apcsmart-old.txt \
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@ bcmxcp.txt \
@SOME_DRIVERS_FALSE@ belkin.txt \
@SOME_DRIVERS_FALSE@ belkinunv.txt \
@SOME_DRIVERS_FALSE@ bestfortress.txt \
@SOME_DRIVERS_FALSE@ bestuferrups.txt \
@SOME_DRIVERS_FALSE@ bestups.txt \
@SOME_DRIVERS_FALSE@ bestfcom.txt \
2013-11-24 15:00:12 +00:00
@SOME_DRIVERS_FALSE@ blazer-common.txt \
@SOME_DRIVERS_FALSE@ blazer_ser.txt \
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@ clone.txt \
@SOME_DRIVERS_FALSE@ dummy-ups.txt \
@SOME_DRIVERS_FALSE@ etapro.txt \
@SOME_DRIVERS_FALSE@ everups.txt \
@SOME_DRIVERS_FALSE@ gamatronic.txt \
@SOME_DRIVERS_FALSE@ genericups.txt \
@SOME_DRIVERS_FALSE@ isbmex.txt \
@SOME_DRIVERS_FALSE@ ivtscd.txt \
@SOME_DRIVERS_FALSE@ liebert.txt \
@SOME_DRIVERS_FALSE@ liebert-esp2.txt \
@SOME_DRIVERS_FALSE@ masterguard.txt \
@SOME_DRIVERS_FALSE@ metasys.txt \
@SOME_DRIVERS_FALSE@ mge-shut.txt \
@SOME_DRIVERS_FALSE@ mge-utalk.txt \
@SOME_DRIVERS_FALSE@ oneac.txt \
@SOME_DRIVERS_FALSE@ microdowell.txt \
2022-06-29 10:37:36 +00:00
@SOME_DRIVERS_FALSE@ microsol-apc.txt \
@SOME_DRIVERS_FALSE@ nutdrv_siemens_sitop.txt \
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@ optiups.txt \
@SOME_DRIVERS_FALSE@ powercom.txt \
@SOME_DRIVERS_FALSE@ powerpanel.txt \
@SOME_DRIVERS_FALSE@ rhino.txt \
2013-11-24 15:00:12 +00:00
@SOME_DRIVERS_FALSE@ riello_ser.txt \
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@ safenet.txt \
@SOME_DRIVERS_FALSE@ solis.txt \
@SOME_DRIVERS_FALSE@ tripplite.txt \
@SOME_DRIVERS_FALSE@ tripplitesu.txt \
@SOME_DRIVERS_FALSE@ upscode2.txt \
2013-11-24 15:00:12 +00:00
@SOME_DRIVERS_FALSE@ victronups.txt \
@SOME_DRIVERS_FALSE@ apcupsd-ups.txt
2011-01-26 09:35:08 +00:00
2022-06-29 10:37:36 +00:00
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@MAN_SERIAL_PAGES = \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ al175.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ apcsmart.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ apcsmart-old.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ bcmxcp.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ belkin.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ belkinunv.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ bestfortress.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ bestuferrups.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ bestups.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ bestfcom.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ blazer_ser.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ clone.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ dummy-ups.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ etapro.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ everups.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ gamatronic.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ genericups.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ isbmex.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ ivtscd.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ liebert.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ liebert-esp2.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ masterguard.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ metasys.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ mge-shut.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ mge-utalk.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ oneac.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ microdowell.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ microsol-apc.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ nutdrv_siemens_sitop.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ optiups.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ powercom.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ powerpanel.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ rhino.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ riello_ser.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ safenet.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ solis.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ tripplite.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ tripplitesu.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ upscode2.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ victronups.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ apcupsd-ups.8
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@HTML_SERIAL_MANS = \
2013-11-24 15:00:12 +00:00
@SOME_DRIVERS_FALSE@ al175.html \
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@ apcsmart.html \
2011-09-29 18:14:46 +00:00
@SOME_DRIVERS_FALSE@ apcsmart-old.html \
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@ bcmxcp.html \
@SOME_DRIVERS_FALSE@ belkin.html \
@SOME_DRIVERS_FALSE@ belkinunv.html \
@SOME_DRIVERS_FALSE@ bestfortress.html \
@SOME_DRIVERS_FALSE@ bestuferrups.html \
@SOME_DRIVERS_FALSE@ bestups.html \
@SOME_DRIVERS_FALSE@ bestfcom.html \
2013-11-24 15:00:12 +00:00
@SOME_DRIVERS_FALSE@ blazer_ser.html \
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@ clone.html \
@SOME_DRIVERS_FALSE@ dummy-ups.html \
@SOME_DRIVERS_FALSE@ etapro.html \
@SOME_DRIVERS_FALSE@ everups.html \
@SOME_DRIVERS_FALSE@ gamatronic.html \
@SOME_DRIVERS_FALSE@ genericups.html \
@SOME_DRIVERS_FALSE@ isbmex.html \
@SOME_DRIVERS_FALSE@ ivtscd.html \
@SOME_DRIVERS_FALSE@ liebert.html \
@SOME_DRIVERS_FALSE@ liebert-esp2.html \
@SOME_DRIVERS_FALSE@ masterguard.html \
@SOME_DRIVERS_FALSE@ metasys.html \
@SOME_DRIVERS_FALSE@ mge-shut.html \
@SOME_DRIVERS_FALSE@ mge-utalk.html \
@SOME_DRIVERS_FALSE@ oneac.html \
@SOME_DRIVERS_FALSE@ microdowell.html \
2022-06-29 10:37:36 +00:00
@SOME_DRIVERS_FALSE@ microsol-apc.html \
@SOME_DRIVERS_FALSE@ nutdrv_siemens_sitop.html \
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@ optiups.html \
@SOME_DRIVERS_FALSE@ powercom.html \
@SOME_DRIVERS_FALSE@ powerpanel.html \
@SOME_DRIVERS_FALSE@ rhino.html \
2013-11-24 15:00:12 +00:00
@SOME_DRIVERS_FALSE@ riello_ser.html \
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@ safenet.html \
@SOME_DRIVERS_FALSE@ solis.html \
@SOME_DRIVERS_FALSE@ tripplite.html \
@SOME_DRIVERS_FALSE@ tripplitesu.html \
@SOME_DRIVERS_FALSE@ upscode2.html \
2013-11-24 15:00:12 +00:00
@SOME_DRIVERS_FALSE@ victronups.html \
@SOME_DRIVERS_FALSE@ apcupsd-ups.html
2011-01-26 09:35:08 +00:00
# (--with-snmp)
@SOME_DRIVERS_FALSE@SRC_SNMP_PAGES = snmp-ups.txt
2022-06-29 10:37:36 +00:00
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@MAN_SNMP_PAGES = snmp-ups.8
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@HTML_SNMP_MANS = snmp-ups.html
# (--with-usb)
@SOME_DRIVERS_FALSE@SRC_USB_LIBUSB_PAGES = \
@SOME_DRIVERS_FALSE@ bcmxcp_usb.txt \
2013-11-24 15:00:12 +00:00
@SOME_DRIVERS_FALSE@ blazer-common.txt \
@SOME_DRIVERS_FALSE@ blazer_usb.txt \
2014-04-22 18:39:47 +00:00
@SOME_DRIVERS_FALSE@ nutdrv_atcl_usb.txt \
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@ richcomm_usb.txt \
2013-11-24 15:00:12 +00:00
@SOME_DRIVERS_FALSE@ riello_usb.txt \
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@ tripplite_usb.txt \
@SOME_DRIVERS_FALSE@ usbhid-ups.txt
2022-06-29 10:37:36 +00:00
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@MAN_USB_LIBUSB_PAGES = \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ bcmxcp_usb.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ blazer_usb.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ nutdrv_atcl_usb.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ richcomm_usb.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ riello_usb.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ tripplite_usb.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ usbhid-ups.8
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@HTML_USB_LIBUSB_MANS = \
@SOME_DRIVERS_FALSE@ bcmxcp_usb.html \
2013-11-24 15:00:12 +00:00
@SOME_DRIVERS_FALSE@ blazer_usb.html \
2014-04-22 18:39:47 +00:00
@SOME_DRIVERS_FALSE@ nutdrv_atcl_usb.html \
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@ richcomm_usb.html \
2013-11-24 15:00:12 +00:00
@SOME_DRIVERS_FALSE@ riello_usb.html \
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@ tripplite_usb.html \
@SOME_DRIVERS_FALSE@ usbhid-ups.html
2022-06-29 10:37:36 +00:00
# (--with-serial / --with-usb)
@SOME_DRIVERS_FALSE@SRC_SERIAL_USB_PAGES = \
@SOME_DRIVERS_FALSE@ nutdrv_qx.txt
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@MAN_SERIAL_USB_PAGES = \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ nutdrv_qx.8
@SOME_DRIVERS_FALSE@HTML_SERIAL_USB_MANS = \
@SOME_DRIVERS_FALSE@ nutdrv_qx.html
2011-01-26 09:35:08 +00:00
# (--with-neon)
@SOME_DRIVERS_FALSE@SRC_NETXML_PAGES = netxml-ups.txt
2022-06-29 10:37:36 +00:00
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@MAN_NETXML_PAGES = netxml-ups.8
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@HTML_NETXML_MANS = netxml-ups.html
# (--with-powerman)
@SOME_DRIVERS_FALSE@SRC_POWERMAN_PAGES = powerman-pdu.txt
2022-06-29 10:37:36 +00:00
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@MAN_POWERMAN_PAGES = powerman-pdu.8
2011-01-26 09:35:08 +00:00
@SOME_DRIVERS_FALSE@HTML_POWERMAN_MANS = powerman-pdu.html
2011-09-29 18:14:46 +00:00
# (--with-ipmi)
@SOME_DRIVERS_FALSE@SRC_IPMIPSU_PAGES = nut-ipmipsu.txt
2022-06-29 10:37:36 +00:00
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@MAN_IPMIPSU_PAGES = nut-ipmipsu.8
2011-09-29 18:14:46 +00:00
@SOME_DRIVERS_FALSE@HTML_IPMIPSU_MANS = nut-ipmipsu.html
2012-08-12 21:39:31 +00:00
@SOME_DRIVERS_FALSE@SRC_MACOSX_PAGES = macosx-ups.txt
2022-06-29 10:37:36 +00:00
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@MAN_MACOSX_PAGES = macosx-ups.8
2012-08-12 21:39:31 +00:00
@SOME_DRIVERS_FALSE@HTML_MACOSX_MANS = macosx-ups.html
2022-06-29 10:37:36 +00:00
@SOME_DRIVERS_FALSE@SRC_MODBUS_PAGES = phoenixcontact_modbus.txt \
@SOME_DRIVERS_FALSE@ generic_modbus.txt \
@SOME_DRIVERS_FALSE@ huawei-ups2000.txt \
@SOME_DRIVERS_FALSE@ socomec_jbus.txt \
@SOME_DRIVERS_FALSE@ adelsystem_cbi.txt
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@MAN_MODBUS_PAGES = phoenixcontact_modbus.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ generic_modbus.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ huawei-ups2000.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ socomec_jbus.8 \
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@ adelsystem_cbi.8
@SOME_DRIVERS_FALSE@HTML_MODBUS_MANS = phoenixcontact_modbus.html \
@SOME_DRIVERS_FALSE@ generic_modbus.html \
@SOME_DRIVERS_FALSE@ huawei-ups2000.html \
@SOME_DRIVERS_FALSE@ socomec_jbus.html \
@SOME_DRIVERS_FALSE@ adelsystem_cbi.html
@SOME_DRIVERS_FALSE@SRC_LINUX_I2C_PAGES = asem.txt pijuice.txt
@SOME_DRIVERS_FALSE@@WITH_MANS_TRUE@MAN_LINUX_I2C_PAGES = asem.8 pijuice.8
@SOME_DRIVERS_FALSE@HTML_LINUX_I2C_MANS = asem.html pijuice.html
2011-09-29 18:14:46 +00:00
2011-01-26 09:35:08 +00:00
# SOME_DRIVERS
2022-06-29 10:37:36 +00:00
MAN_MANS = $(am__append_15)
SRC_DRIVERS_PAGES = \
$(SRC_SERIAL_PAGES) \
$(SRC_SNMP_PAGES) \
$(SRC_USB_LIBUSB_PAGES) \
$(SRC_SERIAL_USB_PAGES) \
$(SRC_NETXML_PAGES) \
$(SRC_POWERMAN_PAGES) \
$(SRC_IPMIPSU_PAGES) \
$(SRC_MACOSX_PAGES) \
$(SRC_MODBUS_PAGES) \
$(SRC_LINUX_I2C_PAGES)
2011-01-26 09:35:08 +00:00
# distribute everything, even those not installed by default
# Note that 'dist' target requires AsciiDoc!
2022-06-29 10:37:36 +00:00
SRC_ALL_PAGES = \
2011-01-26 09:35:08 +00:00
$(SRC_CONF_PAGES) \
$(SRC_CLIENT_PAGES) \
2011-09-29 18:14:46 +00:00
$(SRC_TOOL_PAGES) \
2011-01-26 09:35:08 +00:00
$(SRC_CGI_PAGES) \
$(SRC_DEV_PAGES) \
2022-06-29 10:37:36 +00:00
$(SRC_DRIVERS_PAGES)
2011-01-26 09:35:08 +00:00
2022-06-29 10:37:36 +00:00
EXTRA_DIST = $(SRC_ALL_PAGES) $(MAN_MANS) asciidoc.conf \
$(am__append_16)
2011-01-26 09:35:08 +00:00
HTML_MANS = \
$(HTML_CONF_MANS) \
$(HTML_CLIENT_MANS) \
2011-09-29 18:14:46 +00:00
$(HTML_TOOL_MANS) \
2011-01-26 09:35:08 +00:00
$(HTML_CGI_MANS) \
$(HTML_DEV_MANS) \
$(HTML_SERIAL_MANS) \
$(HTML_SNMP_MANS) \
$(HTML_USB_LIBUSB_MANS) \
2022-06-29 10:37:36 +00:00
$(HTML_SERIAL_USB_MANS) \
2011-01-26 09:35:08 +00:00
$(HTML_NETXML_MANS) \
2011-09-29 18:14:46 +00:00
$(HTML_POWERMAN_MANS) \
2012-08-12 21:39:31 +00:00
$(HTML_IPMIPSU_MANS) \
2015-04-30 13:53:36 +00:00
$(HTML_MACOSX_MANS) \
2022-06-29 10:37:36 +00:00
$(HTML_MODBUS_MANS) \
2015-04-30 13:53:36 +00:00
$(HTML_LINUX_I2C_MANS)
2011-01-26 09:35:08 +00:00
2022-06-29 10:37:36 +00:00
# Note: target documents, except nutupsdrv.txt itself, start the
# list of drivers with `- linkman:nutupsdrv[8]` entry
# To regenerate these files, do `make distclean` first
LINKMAN_INCLUDE_GENERATED = linkman-driver-names.txt linkman-drivertool-names.txt
LINKMAN_INCLUDE_CONSUMERS = index.txt upsd.txt nutupsdrv.txt
# These files are generated when we build from git source so not tracked in
# git, and not part of tarball (to be in builddir) - so not in EXTRA_DIST.
DISTCLEANFILES = $(LINKMAN_INCLUDE_GENERATED)
CLEANFILES = *-spellchecked $(am__append_17)
2011-01-26 09:35:08 +00:00
SUFFIXES = .txt .html .1 .3 .5 .8
2022-06-29 10:37:36 +00:00
@DOC_INSTALL_DISTED_MANS_FALSE@SRC_PREBUILT_CLAUSE =
# For builds with allowed installation of prebuild man pages, check that
# they exist in sources (make would pull them automatically as a fallback
# from failed lookup in build products). For builds that require rebuild
# of man pages, abort with error if build product is missing.
@DOC_INSTALL_DISTED_MANS_TRUE@SRC_PREBUILT_CLAUSE = || [ -r "$(srcdir)/`basename $@`" ]
# Working around a2x not friendly to parallelized runs.
# See more details in the main NUT docs/Makefile.am
@HAVE_ASCIIDOC_TRUE@DOCBUILD_BEGIN = { \
@HAVE_ASCIIDOC_TRUE@ if test -n "$${A2X_OUTDIR}" && test "$${A2X_OUTDIR}" != '.' ; then \
@HAVE_ASCIIDOC_TRUE@ rm -rf "./$${A2X_OUTDIR}" || true ; \
@HAVE_ASCIIDOC_TRUE@ test -d "$@" && rm -rf "$@" || true ; \
@HAVE_ASCIIDOC_TRUE@ mkdir -p "./$${A2X_OUTDIR}" || exit ; \
@HAVE_ASCIIDOC_TRUE@ for F in $(LINKMAN_INCLUDE_GENERATED) ; do \
@HAVE_ASCIIDOC_TRUE@ if [ -s "./$$F" ] ; then ln -f -s "../../$$F" "./$${A2X_OUTDIR}/" ; else \
@HAVE_ASCIIDOC_TRUE@ if [ -s "$(abs_srcdir)/$$F" ] ; then ln -f -s "$(abs_srcdir)/$$F" "./$${A2X_OUTDIR}/" ; fi ; fi ; \
@HAVE_ASCIIDOC_TRUE@ done ; \
@HAVE_ASCIIDOC_TRUE@ else A2X_OUTDIR='.' ; fi; \
@HAVE_ASCIIDOC_TRUE@ if test -s "${builddir}/docbook-xsl.css" \
@HAVE_ASCIIDOC_TRUE@ && test -r "${builddir}/docbook-xsl.css" \
@HAVE_ASCIIDOC_TRUE@ && ! test -w "${builddir}/docbook-xsl.css" \
@HAVE_ASCIIDOC_TRUE@ ; then chmod u+w "${builddir}/docbook-xsl.css" ; fi ; \
@HAVE_ASCIIDOC_TRUE@ chmod -R u+w "./$${A2X_OUTDIR}" || true ; \
@HAVE_ASCIIDOC_TRUE@ if test x"$(srcdir)" != x"$(builddir)" ; then \
@HAVE_ASCIIDOC_TRUE@ if ! test -s "$(builddir)/$<" && test -s "$(srcdir)/`basename $<`" ; then \
@HAVE_ASCIIDOC_TRUE@ ln -fs "$(srcdir)/`basename $<`" "$(builddir)/" ; \
@HAVE_ASCIIDOC_TRUE@ fi ; \
@HAVE_ASCIIDOC_TRUE@ fi ; \
@HAVE_ASCIIDOC_TRUE@ A2X_VERBOSE="$(ASCIIDOC_VERBOSE)"; if [ "$(V)" = 1 ]; then A2X_VERBOSE="--verbose"; fi; \
@HAVE_ASCIIDOC_TRUE@}
# Note that documents with sub-pages (see LIBNUTCLIENT_*_DEPS above)
# may generate multiple files in one go... so we move "*" and hope
# for no required hidden files (or would have to `find` them all).
@HAVE_ASCIIDOC_TRUE@DOCBUILD_END = { \
@HAVE_ASCIIDOC_TRUE@ if test -n "$${A2X_OUTDIR}" && test "$${A2X_OUTDIR}" != '.' ; then \
@HAVE_ASCIIDOC_TRUE@ chmod -R u+w "./$${A2X_OUTDIR}" || true ; \
@HAVE_ASCIIDOC_TRUE@ test -d "$@" && rm -rf "$@" || true ; \
@HAVE_ASCIIDOC_TRUE@ for F in $(LINKMAN_INCLUDE_GENERATED) ; do \
@HAVE_ASCIIDOC_TRUE@ rm -f "./$${A2X_OUTDIR}/$$F" || true ; \
@HAVE_ASCIIDOC_TRUE@ done ; \
@HAVE_ASCIIDOC_TRUE@ mv -f "./$${A2X_OUTDIR}/$(@F)" ./ || exit ; \
@HAVE_ASCIIDOC_TRUE@ mv -f "./$${A2X_OUTDIR}/"*.* ./ 2>/dev/null || true ; \
@HAVE_ASCIIDOC_TRUE@ rm -rf "./$${A2X_OUTDIR}" ; \
@HAVE_ASCIIDOC_TRUE@ fi ; \
@HAVE_ASCIIDOC_TRUE@}
2011-01-26 09:35:08 +00:00
2013-11-24 15:00:12 +00:00
### Prior to Asciidoc ~8.6.8, the --destination-dir flag didn't seem to affect the location of the intermediate .xml file.
2022-06-29 10:37:36 +00:00
### This parameter is currently required; see docs/Makefile.am for more detail.
@HAVE_ASCIIDOC_TRUE@A2X_MANPAGE_OPTS = --doctype manpage --format manpage $${A2X_VERBOSE} \
@HAVE_ASCIIDOC_TRUE@ --xsltproc-opts="--nonet" \
2013-11-24 15:00:12 +00:00
@HAVE_ASCIIDOC_TRUE@ --attribute mansource="Network UPS Tools" \
@HAVE_ASCIIDOC_TRUE@ --attribute manversion="@PACKAGE_VERSION@" \
@HAVE_ASCIIDOC_TRUE@ --attribute manmanual="NUT Manual" \
2022-06-29 10:37:36 +00:00
@HAVE_ASCIIDOC_TRUE@ --attribute srcdir="$(abs_srcdir)" \
@HAVE_ASCIIDOC_TRUE@ --attribute builddir="$(abs_builddir)" \
@HAVE_ASCIIDOC_TRUE@ --destination-dir="$${A2X_OUTDIR}"
2013-11-24 15:00:12 +00:00
2022-06-29 10:37:36 +00:00
MAINTAINERCLEANFILES = Makefile.in .dirstamp
2010-03-25 23:20:59 +00:00
all: all-am
.SUFFIXES:
2022-06-29 10:37:36 +00:00
.SUFFIXES: .txt .html .1 .3 .5 .8 .txt-spellchecked
2010-03-25 23:20:59 +00:00
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
2011-01-26 09:35:08 +00:00
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/man/Makefile'; \
2010-03-25 23:20:59 +00:00
$(am__cd) $(top_srcdir) && \
2011-01-26 09:35:08 +00:00
$(AUTOMAKE) --gnu docs/man/Makefile
2010-03-25 23:20:59 +00:00
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
2022-06-29 10:37:36 +00:00
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
2010-03-25 23:20:59 +00:00
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
2011-01-26 09:35:08 +00:00
install-man1: $(man1_MANS)
2010-03-25 23:20:59 +00:00
@$(NORMAL_INSTALL)
2013-11-24 15:00:12 +00:00
@list1='$(man1_MANS)'; \
list2=''; \
test -n "$(man1dir)" \
&& test -n "`echo $$list1$$list2`" \
|| exit 0; \
echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
$(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
{ for i in $$list1; do echo "$$i"; done; \
if test -n "$$list2"; then \
for i in $$list2; do echo "$$i"; done \
| sed -n '/\.1[a-z]*$$/p'; \
fi; \
2010-03-25 23:20:59 +00:00
} | while read p; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
while read files; do \
test -z "$$files" || { \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
done; }
uninstall-man1:
@$(NORMAL_UNINSTALL)
2011-01-26 09:35:08 +00:00
@list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \
2010-03-25 23:20:59 +00:00
files=`{ for i in $$list; do echo "$$i"; done; \
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
2013-11-24 15:00:12 +00:00
dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
2011-01-26 09:35:08 +00:00
install-man3: $(man3_MANS)
2010-03-25 23:20:59 +00:00
@$(NORMAL_INSTALL)
2013-11-24 15:00:12 +00:00
@list1='$(man3_MANS)'; \
list2=''; \
test -n "$(man3dir)" \
&& test -n "`echo $$list1$$list2`" \
|| exit 0; \
echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
$(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
{ for i in $$list1; do echo "$$i"; done; \
if test -n "$$list2"; then \
for i in $$list2; do echo "$$i"; done \
| sed -n '/\.3[a-z]*$$/p'; \
fi; \
2010-03-25 23:20:59 +00:00
} | while read p; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
while read files; do \
test -z "$$files" || { \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
done; }
uninstall-man3:
@$(NORMAL_UNINSTALL)
2011-01-26 09:35:08 +00:00
@list='$(man3_MANS)'; test -n "$(man3dir)" || exit 0; \
2010-03-25 23:20:59 +00:00
files=`{ for i in $$list; do echo "$$i"; done; \
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
2013-11-24 15:00:12 +00:00
dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
2011-01-26 09:35:08 +00:00
install-man5: $(man5_MANS)
2010-03-25 23:20:59 +00:00
@$(NORMAL_INSTALL)
2013-11-24 15:00:12 +00:00
@list1='$(man5_MANS)'; \
list2=''; \
test -n "$(man5dir)" \
&& test -n "`echo $$list1$$list2`" \
|| exit 0; \
echo " $(MKDIR_P) '$(DESTDIR)$(man5dir)'"; \
$(MKDIR_P) "$(DESTDIR)$(man5dir)" || exit 1; \
{ for i in $$list1; do echo "$$i"; done; \
if test -n "$$list2"; then \
for i in $$list2; do echo "$$i"; done \
| sed -n '/\.5[a-z]*$$/p'; \
fi; \
2010-03-25 23:20:59 +00:00
} | while read p; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
while read files; do \
test -z "$$files" || { \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \
done; }
uninstall-man5:
@$(NORMAL_UNINSTALL)
2011-01-26 09:35:08 +00:00
@list='$(man5_MANS)'; test -n "$(man5dir)" || exit 0; \
2010-03-25 23:20:59 +00:00
files=`{ for i in $$list; do echo "$$i"; done; \
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
2013-11-24 15:00:12 +00:00
dir='$(DESTDIR)$(man5dir)'; $(am__uninstall_files_from_dir)
2011-01-26 09:35:08 +00:00
install-man8: $(man8_MANS)
2010-03-25 23:20:59 +00:00
@$(NORMAL_INSTALL)
2013-11-24 15:00:12 +00:00
@list1='$(man8_MANS)'; \
list2=''; \
test -n "$(man8dir)" \
&& test -n "`echo $$list1$$list2`" \
|| exit 0; \
echo " $(MKDIR_P) '$(DESTDIR)$(man8dir)'"; \
$(MKDIR_P) "$(DESTDIR)$(man8dir)" || exit 1; \
{ for i in $$list1; do echo "$$i"; done; \
if test -n "$$list2"; then \
for i in $$list2; do echo "$$i"; done \
| sed -n '/\.8[a-z]*$$/p'; \
fi; \
2010-03-25 23:20:59 +00:00
} | while read p; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
while read files; do \
test -z "$$files" || { \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
done; }
uninstall-man8:
@$(NORMAL_UNINSTALL)
2011-01-26 09:35:08 +00:00
@list='$(man8_MANS)'; test -n "$(man8dir)" || exit 0; \
2010-03-25 23:20:59 +00:00
files=`{ for i in $$list; do echo "$$i"; done; \
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
2013-11-24 15:00:12 +00:00
dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
2015-04-30 13:53:36 +00:00
tags TAGS:
2010-03-25 23:20:59 +00:00
2015-04-30 13:53:36 +00:00
ctags CTAGS:
cscope cscopelist:
2010-03-25 23:20:59 +00:00
2022-06-29 10:37:36 +00:00
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am
distdir-am: $(DISTFILES)
2010-03-25 23:20:59 +00:00
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
2022-06-29 10:37:36 +00:00
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$(top_distdir)" distdir="$(distdir)" \
dist-hook
2010-03-25 23:20:59 +00:00
check-am: all-am
2022-06-29 10:37:36 +00:00
$(MAKE) $(AM_MAKEFLAGS) check-local
2010-03-25 23:20:59 +00:00
check: check-am
all-am: Makefile $(MANS)
installdirs:
for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
2013-11-24 15:00:12 +00:00
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
2010-03-25 23:20:59 +00:00
mostlyclean-generic:
clean-generic:
2011-01-26 09:35:08 +00:00
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
2010-03-25 23:20:59 +00:00
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
2022-06-29 10:37:36 +00:00
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
2010-03-25 23:20:59 +00:00
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
2022-06-29 10:37:36 +00:00
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
2010-03-25 23:20:59 +00:00
clean: clean-am
2022-06-29 10:37:36 +00:00
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
2010-03-25 23:20:59 +00:00
distclean: distclean-am
-rm -f Makefile
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am: install-man
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am:
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man: install-man1 install-man3 install-man5 install-man8
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-man
uninstall-man: uninstall-man1 uninstall-man3 uninstall-man5 \
uninstall-man8
2022-06-29 10:37:36 +00:00
.MAKE: check-am install-am install-strip
.PHONY: all all-am check check-am check-local clean clean-generic \
clean-libtool clean-local cscopelist-am ctags-am dist-hook \
distclean distclean-generic distclean-libtool distdir dvi \
dvi-am html html-am info info-am install install-am \
install-data install-data-am install-dvi install-dvi-am \
install-exec install-exec-am install-html install-html-am \
install-info install-info-am install-man install-man1 \
install-man3 install-man5 install-man8 install-pdf \
install-pdf-am install-ps install-ps-am install-strip \
installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic \
mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
uninstall-am uninstall-man uninstall-man1 uninstall-man3 \
uninstall-man5 uninstall-man8
2010-03-25 23:20:59 +00:00
2022-06-29 10:37:36 +00:00
.PRECIOUS: Makefile
2010-03-25 23:20:59 +00:00
2022-06-29 10:37:36 +00:00
@WITH_MANS_TRUE@$(LIBNUTCLIENT_MISC_DEPS): libnutclient_misc.3
@WITH_MANS_TRUE@ touch $@
@WITH_MANS_TRUE@$(LIBNUTCLIENT_TCP_DEPS): libnutclient_tcp.3
@WITH_MANS_TRUE@ touch $@
@WITH_MANS_TRUE@$(LIBNUTCLIENT_GENERAL_DEPS): libnutclient_general.3
@WITH_MANS_TRUE@ touch $@
@WITH_MANS_TRUE@$(LIBNUTCLIENT_VARIABLES_DEPS): libnutclient_variables.3
@WITH_MANS_TRUE@ touch $@
@WITH_MANS_TRUE@$(LIBNUTCLIENT_COMMANDS_DEPS): libnutclient_commands.3
@WITH_MANS_TRUE@ touch $@
@WITH_MANS_TRUE@$(LIBNUTCLIENT_DEVICES_DEPS): libnutclient_devices.3
@WITH_MANS_TRUE@ touch $@
@WITH_MANS_TRUE@upscli_readline_timeout.3: upscli_readline.3
@WITH_MANS_TRUE@ touch $@
@WITH_MANS_TRUE@upscli_sendline_timeout.3: upscli_sendline.3
@WITH_MANS_TRUE@ touch $@
@SKIP_MANS_FALSE@@WITH_MANS_FALSE@dist:
@SKIP_MANS_FALSE@@WITH_MANS_FALSE@ @echo "ERROR: Manpage building was disabled by configure script, and these pages are required for our proper 'make dist'" >&2 ; false
# For builds done from dist'ed sources, there may be a conflict of timestamps
# between original *.txt files and pre-built manpages etc. leading to skipping
# of manpage re-generation even if that activity is possible and requested.
# Possibly a cleaner, but less portable, solution would be to touch the
# generated files to long ago. Current solution assumes good valid clocks :)
dist-hook:
@echo "Fix up manpage source timestamps" && cd $(distdir) && touch $(SRC_ALL_PAGES)
linkman-driver-names.txt:
@if test x"$(srcdir)" != x"$(builddir)" ; then \
if ! test -s "$(builddir)/$@" && test -s "$(srcdir)/$(@F)" ; then \
ln -fs "$(srcdir)/$(@F)" "$(builddir)/" ; \
fi ; \
fi
@if test -s "$@" ; then exit 0 ; fi ; \
(LC_ALL=C; LANG=C; export LC_ALL LANG; \
for F in $(SRC_DRIVERS_PAGES) ; do echo "$$F" ; done \
| grep -vE '^nutupsdrv\.txt$$' \
| sort -n | uniq \
| sed 's,^\(.*\)\.txt$$,- linkman:\1[8],' ; \
) > "$@"
linkman-drivertool-names.txt:
@if test x"$(srcdir)" != x"$(builddir)" ; then \
if ! test -s "$(builddir)/$@" && test -s "$(srcdir)/$(@F)" ; then \
ln -fs "$(srcdir)/$(@F)" "$(builddir)/" ; \
fi ; \
fi
@if test -s "$@" ; then exit 0 ; fi ; \
(LC_ALL=C; LANG=C; export LC_ALL LANG; \
for F in $(SRC_DRIVERTOOL_PAGES) ; do echo "$$F" ; done \
| sort -n | uniq \
| sed 's,^\(.*\)\.txt$$,- linkman:\1[8],' ; \
) > "$@"
# Dependencies are about particular filenames, since over time
# we might have several use-cases for LINKMAN_INCLUDE_GENERATED:
$(LINKMAN_INCLUDE_CONSUMERS): linkman-driver-names.txt linkman-drivertool-names.txt
2011-01-26 09:35:08 +00:00
2022-06-29 10:37:36 +00:00
all:
2011-01-26 09:35:08 +00:00
2022-06-29 10:37:36 +00:00
all-html html-man: $(HTML_MANS) index.html
# Have a way to build all man pages, not just those that fit currently
# configured drivers, daemons, developer aspect, etc.
all-man man-man: $(MAN_MANS)
@SKIP_MANS_FALSE@@WITH_MANS_TRUE@check-local: check-man
@SKIP_MANS_TRUE@@WITH_MANS_TRUE@check-local: check-man-txt check-man-pages
@SKIP_MANS_TRUE@@WITH_MANS_TRUE@ @echo "Man-page generation was SKIPPED per user request, so pregenerated pages were sanity-checked (if any)" >&2
@WITH_MANS_FALSE@check-local: check-man-txt check-man-pages
@WITH_MANS_FALSE@ @echo "Man-page generation was not done, so pregenerated pages were sanity-checked (if any)" >&2
check-man: check-man-txt check-man-pages check-html-man
# the "for" loops might better use $^ but it might be not portable
check-man-html: check-html-man
check-html-man: $(HTML_MANS)
@FAILED=""; CHECKED=0; LANG=C; LC_ALL=C; export LANG; export LC_ALL; \
for F in $(HTML_MANS) ; do \
CHECKED="`expr $$CHECKED + 1`"; \
test -s "$$F" && { file "$$F" | $(EGREP) -i '(XML|HTML.*document)' > /dev/null ; } || FAILED="$$FAILED $$F" ; \
done; if test -n "$$FAILED" ; then \
echo "FAILED HTML-man sanity check for:$$FAILED" >&2 ; file $$FAILED >&2 ; exit 1; \
fi; echo "PASSED HTML-man sanity check (checked $$CHECKED files)"; exit 0
# Note: many man-pages here have code samples and are mis-identified as C code
check-man-page: check-man-pages
# Man-pages may be pre-generated (srcdir), or re-built (builddir)
check-man-pages: $(MAN_MANS)
@FAILED=""; CHECKED=0; LANG=C; LC_ALL=C; export LANG; export LC_ALL; \
for F in $(MAN_MANS) ; do \
CHECKED="`expr $$CHECKED + 1`"; \
( test -s "$(abs_srcdir)/$$F" && { file "$(abs_srcdir)/$$F" | $(EGREP) -i '(roff.* input|C source|ASCII text)' > /dev/null ; } ) || \
( test -s "$(abs_builddir)/$$F" && { file "$(abs_builddir)/$$F" | $(EGREP) -i '(roff.* input|C source|ASCII text)' > /dev/null ; } ) || \
FAILED="$$FAILED $$F" ; \
done; if test -n "$$FAILED" ; then \
echo "FAILED man-page sanity check for:$$FAILED" >&2 ; \
( echo "SRCDIR:"; cd "$(abs_srcdir)/" && file $$FAILED ; \
echo "BUILDDIR:"; cd "$(abs_builddir)/" && file $$FAILED ; \
) >&2 ; exit 1; \
fi; echo "PASSED man-page sanity check (checked $$CHECKED files)"; exit 0
check-man-source: check-man-txt
# Note: (GNU) make can helpfully add VPATH to the short source filenames
# which we had listed above, so the "case" below handles two possibilities
check-man-txt: $(SRC_ALL_PAGES)
@FAILED=""; CHECKED=0; LANG=C; LC_ALL=C; export LANG; export LC_ALL; \
( cd $(abs_srcdir) ) || exit; \
for F in $(SRC_ALL_PAGES) ; do \
CHECKED="`expr $$CHECKED + 1`"; \
case "$$F" in \
*/*) ;; \
*) F="$(abs_srcdir)/$$F" ;; \
esac ; \
test -s "$$F" && { file "$$F" | $(EGREP) -i '(ASCII|UTF-8|Unicode|ISO-8859|English).* text' > /dev/null ; } || FAILED="$$FAILED $$F" ; \
done; if test -n "$$FAILED" ; then \
echo "FAILED man-source sanity check for:$$FAILED" >&2 ; file $$FAILED >&2 ; exit 1; \
fi; echo "PASSED man-source sanity check (checked $$CHECKED files)"; exit 0
### Regarding absolute paths in attributes below: by default asciidoc
### resolves include paths relative to the main document, so while we
### see the relative builddir as "." in the makefile, for included
### data it would mean the source directory where the .txt resides.
2011-01-26 09:35:08 +00:00
@HAVE_ASCIIDOC_TRUE@.txt.html:
2022-06-29 10:37:36 +00:00
@HAVE_ASCIIDOC_TRUE@ @A2X_OUTDIR="tmp/man-html.$(@F).$$$$" ; \
@HAVE_ASCIIDOC_TRUE@ echo " DOC-MAN-HTML Generating $@"; \
@HAVE_ASCIIDOC_TRUE@ $(DOCBUILD_BEGIN) ; RES=0; \
@HAVE_ASCIIDOC_TRUE@ $(ASCIIDOC) --backend=xhtml11 $${A2X_VERBOSE} \
@HAVE_ASCIIDOC_TRUE@ --attribute localdate="`TZ=UTC date +%Y-%m-%d`" \
@HAVE_ASCIIDOC_TRUE@ --attribute localtime="`TZ=UTC date +%H:%M:%S`" \
2015-04-30 13:53:36 +00:00
@HAVE_ASCIIDOC_TRUE@ --attribute nutversion="@PACKAGE_VERSION@" \
2022-06-29 10:37:36 +00:00
@HAVE_ASCIIDOC_TRUE@ --attribute srcdir="$(abs_srcdir)" \
@HAVE_ASCIIDOC_TRUE@ --attribute builddir="$(abs_builddir)" \
@HAVE_ASCIIDOC_TRUE@ -o "$${A2X_OUTDIR}/$(@F)" $< || RES=$$? ; \
@HAVE_ASCIIDOC_TRUE@ $(DOCBUILD_END) ; exit $$RES
2011-01-26 09:35:08 +00:00
@HAVE_ASCIIDOC_TRUE@.txt.1:
2022-06-29 10:37:36 +00:00
@HAVE_ASCIIDOC_TRUE@ @A2X_OUTDIR="tmp/man1.$(@F).$$$$" ; \
@HAVE_ASCIIDOC_TRUE@ echo " DOC-MAN Generating $@"; \
@HAVE_ASCIIDOC_TRUE@ $(DOCBUILD_BEGIN) ; RES=0; \
@HAVE_ASCIIDOC_TRUE@ $(A2X) $(A2X_MANPAGE_OPTS) $< || RES=$$? ; \
@HAVE_ASCIIDOC_TRUE@ $(DOCBUILD_END) ; exit $$RES
2011-01-26 09:35:08 +00:00
@HAVE_ASCIIDOC_TRUE@.txt.3:
2022-06-29 10:37:36 +00:00
@HAVE_ASCIIDOC_TRUE@ @A2X_OUTDIR="tmp/man3.$(@F).$$$$" ; \
@HAVE_ASCIIDOC_TRUE@ echo " DOC-MAN Generating $@"; \
@HAVE_ASCIIDOC_TRUE@ $(DOCBUILD_BEGIN) ; RES=0; \
@HAVE_ASCIIDOC_TRUE@ $(A2X) $(A2X_MANPAGE_OPTS) $< || RES=$$? ; \
@HAVE_ASCIIDOC_TRUE@ $(DOCBUILD_END) ; exit $$RES
2011-01-26 09:35:08 +00:00
@HAVE_ASCIIDOC_TRUE@.txt.5:
2022-06-29 10:37:36 +00:00
@HAVE_ASCIIDOC_TRUE@ @A2X_OUTDIR="tmp/man5.$(@F).$$$$" ; \
@HAVE_ASCIIDOC_TRUE@ echo " DOC-MAN Generating $@"; \
@HAVE_ASCIIDOC_TRUE@ $(DOCBUILD_BEGIN) ; RES=0; \
@HAVE_ASCIIDOC_TRUE@ $(A2X) $(A2X_MANPAGE_OPTS) $< || RES=$$? ; \
@HAVE_ASCIIDOC_TRUE@ $(DOCBUILD_END) ; exit $$RES
2011-01-26 09:35:08 +00:00
@HAVE_ASCIIDOC_TRUE@.txt.8:
2022-06-29 10:37:36 +00:00
@HAVE_ASCIIDOC_TRUE@ @A2X_OUTDIR="tmp/man8.$(@F).$$$$" ; \
@HAVE_ASCIIDOC_TRUE@ echo " DOC-MAN Generating $@"; \
@HAVE_ASCIIDOC_TRUE@ $(DOCBUILD_BEGIN) ; RES=0; \
@HAVE_ASCIIDOC_TRUE@ $(A2X) $(A2X_MANPAGE_OPTS) $< || RES=$$? ; \
@HAVE_ASCIIDOC_TRUE@ $(DOCBUILD_END) ; exit $$RES
2011-01-26 09:35:08 +00:00
@HAVE_ASCIIDOC_FALSE@.txt.html:
2022-06-29 10:37:36 +00:00
@HAVE_ASCIIDOC_FALSE@ @if [ -r "$@" ] $(SRC_PREBUILT_CLAUSE); then \
2015-04-30 13:53:36 +00:00
@HAVE_ASCIIDOC_FALSE@ echo "Not (re)building $@ manual page, since 'asciidoc', 'xmllint' or 'xsltproc' were not found." ; \
@HAVE_ASCIIDOC_FALSE@ else \
@HAVE_ASCIIDOC_FALSE@ echo "Could not find prebuilt $@ manual page." ; \
@HAVE_ASCIIDOC_FALSE@ echo "If you are building from Git, do you have all of the asciidoc/a2x tools installed?"; \
@HAVE_ASCIIDOC_FALSE@ exit 1; \
@HAVE_ASCIIDOC_FALSE@ fi
2011-01-26 09:35:08 +00:00
@HAVE_ASCIIDOC_FALSE@.txt.1:
2022-06-29 10:37:36 +00:00
@HAVE_ASCIIDOC_FALSE@ @if [ -r "$@" ] $(SRC_PREBUILT_CLAUSE); then \
2015-04-30 13:53:36 +00:00
@HAVE_ASCIIDOC_FALSE@ echo "Not (re)building $@ manual page, since 'asciidoc', 'xmllint' or 'xsltproc' were not found." ; \
@HAVE_ASCIIDOC_FALSE@ else \
@HAVE_ASCIIDOC_FALSE@ echo "Could not find prebuilt $@ manual page." ; \
@HAVE_ASCIIDOC_FALSE@ echo "If you are building from Git, do you have all of the asciidoc/a2x tools installed?"; \
@HAVE_ASCIIDOC_FALSE@ exit 1; \
@HAVE_ASCIIDOC_FALSE@ fi
2011-01-26 09:35:08 +00:00
@HAVE_ASCIIDOC_FALSE@.txt.3:
2022-06-29 10:37:36 +00:00
@HAVE_ASCIIDOC_FALSE@ @if [ -r "$@" ] $(SRC_PREBUILT_CLAUSE); then \
2015-04-30 13:53:36 +00:00
@HAVE_ASCIIDOC_FALSE@ echo "Not (re)building $@ manual page, since 'asciidoc', 'xmllint' or 'xsltproc' were not found." ; \
@HAVE_ASCIIDOC_FALSE@ else \
@HAVE_ASCIIDOC_FALSE@ echo "Could not find prebuilt $@ manual page." ; \
@HAVE_ASCIIDOC_FALSE@ echo "If you are building from Git, do you have all of the asciidoc/a2x tools installed?"; \
@HAVE_ASCIIDOC_FALSE@ exit 1; \
@HAVE_ASCIIDOC_FALSE@ fi
2011-01-26 09:35:08 +00:00
@HAVE_ASCIIDOC_FALSE@.txt.5:
2022-06-29 10:37:36 +00:00
@HAVE_ASCIIDOC_FALSE@ @if [ -r "$@" ] $(SRC_PREBUILT_CLAUSE); then \
2015-04-30 13:53:36 +00:00
@HAVE_ASCIIDOC_FALSE@ echo "Not (re)building $@ manual page, since 'asciidoc', 'xmllint' or 'xsltproc' were not found." ; \
@HAVE_ASCIIDOC_FALSE@ else \
@HAVE_ASCIIDOC_FALSE@ echo "Could not find prebuilt $@ manual page." ; \
@HAVE_ASCIIDOC_FALSE@ echo "If you are building from Git, do you have all of the asciidoc/a2x tools installed?"; \
@HAVE_ASCIIDOC_FALSE@ exit 1; \
@HAVE_ASCIIDOC_FALSE@ fi
2011-01-26 09:35:08 +00:00
@HAVE_ASCIIDOC_FALSE@.txt.8:
2022-06-29 10:37:36 +00:00
@HAVE_ASCIIDOC_FALSE@ @if [ -r "$@" ] $(SRC_PREBUILT_CLAUSE); then \
2015-04-30 13:53:36 +00:00
@HAVE_ASCIIDOC_FALSE@ echo "Not (re)building $@ manual page, since 'asciidoc', 'xmllint' or 'xsltproc' were not found." ; \
@HAVE_ASCIIDOC_FALSE@ else \
@HAVE_ASCIIDOC_FALSE@ echo "Could not find prebuilt $@ manual page." ; \
@HAVE_ASCIIDOC_FALSE@ echo "If you are building from Git, do you have all of the asciidoc/a2x tools installed?"; \
@HAVE_ASCIIDOC_FALSE@ exit 1; \
@HAVE_ASCIIDOC_FALSE@ fi
2011-01-26 09:35:08 +00:00
2022-06-29 10:37:36 +00:00
# NOTE: Due to portability, we do not use a GNU percent-wildcard extension:
#%-spellchecked: % Makefile.am $(top_srcdir)/docs/Makefile.am $(abs_srcdir)/$(NUT_SPELL_DICT)
# $(MAKE) -s -f $(top_builddir)/docs/Makefile SPELLCHECK_SRC_ONE="$<" SPELLCHECK_DIR="$(srcdir)" $@
# NOTE: Portable suffix rules do not allow prerequisites, so we shim them here
# by a wildcard target in case the make implementation can put the two together.
*.txt-spellchecked: Makefile.am $(abs_top_srcdir)/docs/Makefile.am $(abs_srcdir)/$(NUT_SPELL_DICT)
.txt.txt-spellchecked:
$(MAKE) -s -f $(top_builddir)/docs/Makefile SPELLCHECK_SRC_ONE="$<" SPELLCHECK_DIR="$(srcdir)" $@
spellcheck spellcheck-interactive spellcheck-sortdict:
$(MAKE) -f $(top_builddir)/docs/Makefile SPELLCHECK_SRC="$(SRC_ALL_PAGES)" SPELLCHECK_DIR="$(srcdir)" $@
clean-local:
rm -rf tmp
2010-03-25 23:20:59 +00:00
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: