summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: ea4475683870bde4112ee37c7e4788d89418c07e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FLEX = $(top_builddir)/src/flex$(EXEEXT)
TEXI2DVI = @TEXI2DVI@ -I $(srcdir)/../examples/manual/
TEXI2PDF = @TEXI2PDF@ -I $(srcdir)/../examples/manual/

info_TEXINFOS =	flex.texi
AM_MAKEINFOFLAGS = -I $(srcdir)/../examples/manual/
dist_man_MANS = flex.1
MAINTAINERCLEANFILES = flex.1

CLEANFILES = *.aux *.cp *.cps *.fn *.fns *.hk *.hks *.ky *.log \
	*.op *.ops *.pg *.toc *.tp *.tps *.vr *.vrs

flex.1: $(top_srcdir)/configure.ac $(top_srcdir)/src/cpp-flex.skl $(top_srcdir)/src/options.c $(top_srcdir)/src/options.h | $(FLEX)
	$(HELP2MAN) --name='$(PACKAGE_NAME)' --section=1 \
	--source='The Flex Project' --manual='Programming' \
	--output=$@ $(FLEX) \
	|| rm -f $@