dnl autoconf requirements and initialization
AC_PREREQ(2.54)
-AC_INIT(flex,2.5.33,flex-help@lists.sourceforge.net)
+AC_INIT([the fast lexical analyser generator], [2.5.33],
+[flex-help@lists.sourceforge.net], [flex])
AC_CONFIG_SRCDIR(scan.l)
AM_INIT_AUTOMAKE(gnits dist-bzip2)
AC_CONFIG_HEADER(config.h:conf.in)
$(dist_man_MANS): $(top_srcdir)/main.c
for i in $(dist_man_MANS) ; do \
- $(help2man) --name='fast lexical analyzer generator' --section=`echo $$i|rev|cut -f 1 -d .|rev` ../flex > $$i ; \
+ $(help2man) --name='$(PACKAGE_NAME)' \
+ --section=`echo $$i | sed -e 's/.*\.\([^.]*\)$$/\1/'` \
+ ../flex$(EXEEXT) > $$i || rm -f $$i ; \
done