SummaryRefsLogTreeCommitDiffStats
path: root/makefile.am
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2015-06-26 23:17:01 +0200
committerMathieu Lirzin <mthl@gnu.org>2016-05-07 11:32:17 +0200
commit8f430594f4452c378de08177be187d1cb5de1cd0 (patch)
tree91758d0c655d18fcc7d0f80cc8bbb53417e77604 /makefile.am
parentb3202cecf6a051d726f9af5d080aeb89257b0a98 (diff)
downloadmcron-8f430594f4452c378de08177be187d1cb5de1cd0.tar.gz
mcron-8f430594f4452c378de08177be187d1cb5de1cd0.tar.bz2
mcron-8f430594f4452c378de08177be187d1cb5de1cd0.zip
build: Fix build of the manual.
* mcron.texinfo.in: Rename to ... * doc/mcron.texi: ... this. * doc/config.texi.in: New file. * configure.ac: Adapt to it. * makefile.am: Likewise. * .gitignore: Likewise. * README--git: Likewise.
Diffstat (limited to 'makefile.am')
-rw-r--r--makefile.am11
1 files changed, 6 insertions, 5 deletions
diff --git a/makefile.am b/makefile.am
index 633cf2f..189ce02 100644
--- a/makefile.am
+++ b/makefile.am
@@ -1,5 +1,6 @@
## Makefile for the toplevel directory of mcron.
## Copyright (C) 2003 Dale Mellor
+## Copyright (C) 2015 Mathieu Lirzin
##
# This file is part of GNU mcron.
#
@@ -31,9 +32,9 @@ CLEANFILES = mcron.c
EXTRA_DIST = makefile.ed mcron.c.template BUGS
-info_TEXINFOS = mcron.texinfo
+info_TEXINFOS = doc/mcron.texi
-dist_man_MANS = mcron.1
+dist_man_MANS = doc/mcron.1
bin_PROGRAMS = mcron
mcron_SOURCES = mcron.c
@@ -79,6 +80,6 @@ uninstall-hook:
# 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.
-mcron.1 : mcron.c
- $(HELP2MAN) -n 'a program to run tasks at regular (or not) intervals' \
- ./mcron > mcron.1
+doc/mcron.1: mcron.c
+ -$(HELP2MAN) -n 'a program to run tasks at regular (or not) intervals' \
+ ./mcron > $@