AboutSummaryRefsLogTreeCommitDiffStats
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2015-10-17 21:32:46 +0200
committerMathieu Lirzin <mthl@gnu.org>2016-05-07 23:38:53 +0200
commitce0d72ec8319a6a67d3fc4cb8a855ed75d18d514 (patch)
tree4eccaa7ff41a60e2b848597ba61eadb1f5d5d462
parent8952d2dc442913f0ecf1fa896d97c882a5daa664 (diff)
downloadmcron-ce0d72ec8319a6a67d3fc4cb8a855ed75d18d514.tar.gz
mcron-ce0d72ec8319a6a67d3fc4cb8a855ed75d18d514.tar.bz2
mcron-ce0d72ec8319a6a67d3fc4cb8a855ed75d18d514.zip
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.
-rw-r--r--Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index c2d42b4..b6c325b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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