]> granicus.if.org Git - flex/commitdiff
more changes to build system to distribute man page
authorWill Estes <wlestes@users.sourceforge.net>
Thu, 1 Feb 2007 20:56:53 +0000 (20:56 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Thu, 1 Feb 2007 20:56:53 +0000 (20:56 +0000)
doc/Makefile.am

index 1dd212023cc3587cacc3d366eb516cf8d53bb41d..8614963377d8e89af55c304b65eaf93d7d6defb9 100644 (file)
@@ -3,17 +3,11 @@ help2man = @HELP2MAN@
 info_TEXINFOS =        flex.texi
 dist_man_MANS = flex.1
 
-MAINTAINERCLEANFILES = \
-       flex.1
-
 CLEANFILES = \
        flex.hks \
        flex.ops
 
-EXTRA_DIST = \
-       $(man_MANS)
-
-$(man_MANS): $(top_srcdir)/main.c
-       for i in $(man_MANS) ; do \
+$(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 ; \
        done