summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorrlar <rlar>2016-03-31 15:35:55 +0200
committerWill Estes <westes575@gmail.com>2016-03-31 10:51:19 -0400
commit7cfb440c7cbf438647a177ef45eef3201094079d (patch)
tree4992f7a09e96fe689c62c921db5b9d5d0b8ff4d5 /doc
parent39cff7e23997e0d917cca1284c811c9c8ce4f825 (diff)
fix flex.1 dependency
git clean -fdx && ./autogen.sh && \ mkdir -p ../build && cd ../build && ../flex/configure && make -j10 && \ make dist failed with: > help2man: can't get `--help' info from ../../flex/src/flex Note: There is no dependency except for the flex binary.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am9
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index e6e97c8..a9b0582 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -22,9 +22,6 @@ CLEANFILES = \
flex.vr \
flex.vrs
-$(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/'` \
- $(top_srcdir)/src/flex$(EXEEXT) > $$i || rm -f $$i ; \
- done
+flex.1 : ../src/flex$(EXEEXT)
+ $(help2man) --name='$(PACKAGE_NAME)' --section=1 --output=$@ $< || \
+ rm -f $@