xref: /minix3/external/bsd/flex/dist/doc/Makefile.am (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1357f1050SThomas Veermanhelp2man = @HELP2MAN@
2357f1050SThomas Veerman
3357f1050SThomas Veermaninfo_TEXINFOS =	flex.texi
4357f1050SThomas Veermandist_man_MANS = flex.1
584d9c625SLionel Sambucdist_doc_DATA= flex.pdf
6357f1050SThomas Veerman
7357f1050SThomas VeermanCLEANFILES = \
8*0a6a1f1dSLionel Sambuc	flex.aux \
9*0a6a1f1dSLionel Sambuc	flex.cp \
10*0a6a1f1dSLionel Sambuc	flex.cps \
11*0a6a1f1dSLionel Sambuc	flex.fn \
12*0a6a1f1dSLionel Sambuc	flex.fns \
13*0a6a1f1dSLionel Sambuc	flex.hk \
14357f1050SThomas Veerman	flex.hks \
15*0a6a1f1dSLionel Sambuc	flex.ky \
16*0a6a1f1dSLionel Sambuc	flex.log \
17*0a6a1f1dSLionel Sambuc	flex.op \
18*0a6a1f1dSLionel Sambuc	flex.ops \
19*0a6a1f1dSLionel Sambuc	flex.pg \
20*0a6a1f1dSLionel Sambuc	flex.toc \
21*0a6a1f1dSLionel Sambuc	flex.tp \
22*0a6a1f1dSLionel Sambuc	flex.tps \
23*0a6a1f1dSLionel Sambuc	flex.vr \
24*0a6a1f1dSLionel Sambuc	flex.vrs
25357f1050SThomas Veerman
26357f1050SThomas Veerman$(dist_man_MANS): $(top_srcdir)/main.c
27357f1050SThomas Veerman	for i in $(dist_man_MANS) ; do \
28357f1050SThomas Veerman	$(help2man) --name='$(PACKAGE_NAME)' \
29357f1050SThomas Veerman	--section=`echo $$i | sed -e 's/.*\.\([^.]*\)$$/\1/'` \
30357f1050SThomas Veerman	 ../flex$(EXEEXT) > $$i || rm -f $$i ; \
31357f1050SThomas Veerman	done
32