packaging: remove build dependens on automake, bison
[platform/upstream/flex.git] / doc / Makefile.am
1 FLEX = $(top_builddir)/src/flex$(EXEEXT)
2
3 info_TEXINFOS = flex.texi
4 dist_man_MANS = flex.1
5 MAINTAINERCLEANFILES = flex.1
6
7 CLEANFILES = *.aux *.cp *.cps *.fn *.fns *.hk *.hks *.ky *.log \
8         *.op *.ops *.pg *.toc *.tp *.tps *.vr *.vrs
9
10 flex.1: $(top_srcdir)/configure.ac $(top_srcdir)/src/flex.skl $(top_srcdir)/src/options.c $(top_srcdir)/src/options.h | $(FLEX)
11         $(HELP2MAN) --name='$(PACKAGE_NAME)' --section=1 \
12         --source='The Flex Project' --manual='Programming' \
13         --output=$@ $(FLEX) \
14         || rm -f $@