build: Fix 'distcheck' target failures.

* Makefile.am (TEXI2DVI, DISTCLEANFILES, doc_mcron_TEXINFOS)
(nodist_doc_mcron_TEXINFOS): New variables.  This fixes the build of the
dvi/pdf documentation.
This commit is contained in:
Mathieu Lirzin 2015-10-17 21:32:46 +02:00
commit ce0d72ec83

View file

@ -116,6 +116,7 @@ uninstall-hook:
EXTRA_DIST = BUGS
CLEANFILES = $(GOBJECTS)
DISTCLEANFILES = $(GEN_MODULES)
## --------------- ##
## Documentation. ##
@ -123,8 +124,13 @@ CLEANFILES = $(GOBJECTS)
info_TEXINFOS = doc/mcron.texi
doc_mcron_TEXINFOS = doc/fdl.texi
nodist_doc_mcron_TEXINFOS = doc/config.texi
dist_man_MANS = doc/mcron.1
# XXX: Allow the inclusion of 'doc/fdl.texi' and 'doc/config.texi' inside
# 'doc/mcron.texi' for 'dvi' and 'pdf' targets.
TEXI2DVI = texi2dvi -I doc
# Not part of formal package building, but a rule for manual use to get the
# elemental man page. Will only work once the mcron program is installed.
doc/mcron.1: mcron.c