etc/services - sync with NetBSD-8
[minix.git] / external / bsd / flex / dist / doc / Makefile.am
blob0e23dca1abf4fa72b63b1bd069b829f170bf9df9
1 help2man = @HELP2MAN@
3 info_TEXINFOS = flex.texi
4 dist_man_MANS = flex.1
5 dist_doc_DATA= flex.pdf
7 CLEANFILES = \
8         flex.aux \
9         flex.cp \
10         flex.cps \
11         flex.fn \
12         flex.fns \
13         flex.hk \
14         flex.hks \
15         flex.ky \
16         flex.log \
17         flex.op \
18         flex.ops \
19         flex.pg \
20         flex.toc \
21         flex.tp \
22         flex.tps \
23         flex.vr \
24         flex.vrs
26 $(dist_man_MANS): $(top_srcdir)/main.c
27         for i in $(dist_man_MANS) ; do \
28         $(help2man) --name='$(PACKAGE_NAME)' \
29         --section=`echo $$i | sed -e 's/.*\.\([^.]*\)$$/\1/'` \
30          ../flex$(EXEEXT) > $$i || rm -f $$i ; \
31         done