]> granicus.if.org Git - flex/commitdiff
enclose flex.1 target in MAINTERNER_MODE
authorWill Estes <wlestes@users.sourceforge.net>
Mon, 2 Dec 2002 20:48:44 +0000 (20:48 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Mon, 2 Dec 2002 20:48:44 +0000 (20:48 +0000)
Makefile.am

index d93a43550228aa5efbf558387172e5f05d61fe8f..fb6999f247837616ee0eacad74f7aa1f127d12ea 100644 (file)
@@ -149,10 +149,12 @@ LIBS = @LIBINTL@ @LIBS@
 skel.c: flex.skl mkskel.sh flexint.h tables_shared.h
        $(m4) -P -DFLEX_MAJOR_VERSION=`echo $(VERSION)|cut -f 1 -d .` -DFLEX_MINOR_VERSION=`echo $(VERSION)|cut -f 2 -d .` -DFLEX_SUBMINOR_VERSION=`echo $(VERSION)|cut -f 3 -d .` $(srcdir)/flex.skl | $(SHELL) $(srcdir)/mkskel.sh  >skel.c
 
+if MAINTAINER_MODE
 $(man_MANS): $(srcdir)/main.c
        for i in $(man_MANS) ; do \
        $(help2man) --name='fast lexical analyzer generator' --section=`echo $$i|rev|cut -f 1 -d .|rev` @builddir@/flex > $$i ; \
        done
+endif
 
 # Explicitly describe dependencies.
 # You can recreate this with `gcc -I. -MM *.c'