Revert "Fix build of the manual."

This reverts commit e6a94adeb3.
This commit is contained in:
Mathieu Lirzin 2017-09-27 23:10:55 +02:00
commit d96ede0b09
No known key found for this signature in database
GPG key ID: 0ADEE10094604D37
7 changed files with 65 additions and 87 deletions

View file

@ -1,6 +1,5 @@
## Makefile for the toplevel directory of mcron.
## Copyright (C) 2003 Dale Mellor
## Copyright (C) 2015 Mathieu Lirzin
##
# This file is part of GNU mcron.
#
@ -32,9 +31,9 @@ CLEANFILES = mcron.c
EXTRA_DIST = makefile.ed mcron.c.template BUGS
info_TEXINFOS = doc/mcron.texi
info_TEXINFOS = mcron.texinfo
dist_man_MANS = doc/mcron.1
dist_man_MANS = mcron.1
bin_PROGRAMS = mcron
mcron_SOURCES = mcron.c
@ -80,6 +79,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.
$(dist_man_MANS): mcron.c
mcron.1 : mcron.c
$(HELP2MAN) -n 'a program to run tasks at regular (or not) intervals' \
./mcron > $@
./mcron > mcron.1