[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-mcron] [PATCH 10/33] build: Fix prerequisite of the man page target

From: Mathieu Lirzin
Subject: [Bug-mcron] [PATCH 10/33] build: Fix prerequisite of the man page target.
Date: Sun, 27 Sep 2015 23:00:21 +0200

* makefile.am (dist_man_MANS): Fix prerequisite in order to build mcron
  before the man page.
 makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/makefile.am b/makefile.am
index 0e48902..0717d4d 100644
--- a/makefile.am
+++ b/makefile.am
@@ -90,10 +90,10 @@ 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
+# elemental man page.
+$(dist_man_MANS): $(bin_PROGRAMS)
        $(HELP2MAN) -n 'a program to run tasks at regular (or not) intervals' \
-           ./mcron > $@
+           ./$< > $@
        git clean -xd --force

reply via email to

[Prev in Thread] Current Thread [Next in Thread]