scripts/python/Makefile.am: restore definition of PYNUT_COMMON_CODE (empty) for recip...
[networkupstools.git] / conf / Makefile.am
blobfd384eebbc815f452806b1cdac4d7365b163cd95
1 # Network UPS Tools: conf
3 INSTALL_0600 = $(INSTALL) -m 0600
5 SECFILES = upsd.conf.sample upsd.users.sample
6 PUBFILES = nut.conf.sample ups.conf.sample
7 CGIPUB = hosts.conf.sample upsset.conf.sample upsstats.html.sample      \
8  upsstats-single.html.sample
10 if WITH_CGI
11  CGI_INSTALL = $(CGIPUB)
12 else
13  CGI_INSTALL = 
14 endif
16 dist_sysconf_DATA = $(SECFILES) $(PUBFILES) $(CGI_INSTALL)
17 nodist_sysconf_DATA = upssched.conf.sample upsmon.conf.sample
19 SPELLCHECK_SRC = $(dist_sysconf_DATA) \
20  upssched.conf.sample.in upsmon.conf.sample.in
22 # NOTE: Due to portability, we do not use a GNU percent-wildcard extension.
23 # We also have to export some variables that may be tainted by relative
24 # paths when parsing the other makefile (e.g. MKDIR_P that may be defined
25 # via expanded $(top_builddir)/install-sh):
26 #%-spellchecked: % Makefile.am $(top_srcdir)/docs/Makefile.am $(abs_srcdir)/$(NUT_SPELL_DICT)
27 #       +$(MAKE) -s -f $(top_builddir)/docs/Makefile $(AM_MAKEFLAGS) MKDIR_P="$(MKDIR_P)" builddir="$(builddir)" srcdir="$(srcdir)" top_builddir="$(top_builddir)" top_srcdir="$(top_srcdir)" SPELLCHECK_SRC_ONE="$<" SPELLCHECK_SRCDIR="$(srcdir)" SPELLCHECK_BUILDDIR="$(builddir)" $@
29 # NOTE: Portable suffix rules do not allow prerequisites, so we shim them here
30 # by a wildcard target in case the make implementation can put the two together.
31 *-spellchecked: Makefile.am $(top_srcdir)/docs/Makefile.am $(abs_srcdir)/$(NUT_SPELL_DICT)
33 .sample.sample-spellchecked:
34         +$(MAKE) -s -f $(top_builddir)/docs/Makefile $(AM_MAKEFLAGS) MKDIR_P="$(MKDIR_P)" builddir="$(builddir)" srcdir="$(srcdir)" top_builddir="$(top_builddir)" top_srcdir="$(top_srcdir)" SPELLCHECK_SRC_ONE="$<" SPELLCHECK_SRCDIR="$(srcdir)" SPELLCHECK_BUILDDIR="$(builddir)" $@
36 .in.in-spellchecked:
37         +$(MAKE) -s -f $(top_builddir)/docs/Makefile $(AM_MAKEFLAGS) MKDIR_P="$(MKDIR_P)" builddir="$(builddir)" srcdir="$(srcdir)" top_builddir="$(top_builddir)" top_srcdir="$(top_srcdir)" SPELLCHECK_SRC_ONE="$<" SPELLCHECK_SRCDIR="$(srcdir)" SPELLCHECK_BUILDDIR="$(builddir)" $@
39 spellcheck spellcheck-interactive spellcheck-sortdict:
40         +$(MAKE) -f $(top_builddir)/docs/Makefile $(AM_MAKEFLAGS) MKDIR_P="$(MKDIR_P)" builddir="$(builddir)" srcdir="$(srcdir)" top_builddir="$(top_builddir)" top_srcdir="$(top_srcdir)" SPELLCHECK_SRC="$(SPELLCHECK_SRC)" SPELLCHECK_SRCDIR="$(srcdir)" SPELLCHECK_BUILDDIR="$(builddir)" $@
43 MAINTAINERCLEANFILES = Makefile.in .dirstamp
44 CLEANFILES = *.pdf *.html *-spellchecked