From b54685ff22039fae7753fc3b08e0987d5853384e Mon Sep 17 00:00:00 2001 From: Will Estes Date: Wed, 11 Nov 2015 15:20:56 -0500 Subject: [PATCH] Changed man page dependencies. The man page is just the --help output as reformatted by help2man. The --help option is most likely to change when the flex skeleton changes or one of the option parsing files changes or the configure.ac script itself changes. The dependencies reflect this now. It is still necessary, under some circumstances, to rebuild flex explicitly before building the man page. In theory, it's possible to have automake arrange to do this all the time, but doing so works out to be fragile, given the rest of the build system. --- doc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 961e41b..e776c18 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -23,7 +23,7 @@ CLEANFILES = \ flex.vr \ flex.vrs -$(dist_man_MANS): $(top_srcdir)/src/main.c +$(dist_man_MANS): $(top_srcdir)/configure.ac $(top_srcdir)/src/flex.skl $(top_srcdir)/src/options.c $(top_srcdir)/src/options.h for i in $(dist_man_MANS) ; do \ $(help2man) --name='$(PACKAGE_NAME)' \ --section=`echo $$i | sed -e 's/.*\.\([^.]*\)$$/\1/'` \ -- 2.40.0