AM_YFLAGS = -d
ACLOCAL_AMFLAGS = -I m4
-help2man = @HELP2MAN@
m4 = @M4@
indent = @INDENT@
dist-bzip2 \
1.7
-
bin_PROGRAMS = flex
lib_LIBRARIES = libfl.a
include_HEADERS = \
FlexLexer.h
-info_TEXINFOS = flex.texi
-man_MANS = flex.1
-
MAINTAINERCLEANFILES = \
- flex.1 \
ABOUT-NLS \
config.rpath \
config.sub \
config.sub \
config.guess \
depcomp \
- flex.hks \
- flex.ops \
mkinstalldirs \
install-sh \
ABOUT-NLS \
mkskel.sh \
ABOUT-NLS \
config.rpath \
- gettext.h \
- $(man_MANS)
+ gettext.h
BUILT_SOURCES = \
skel.c
SUBDIRS = \
+ doc \
m4 \
examples \
po \
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'
buf.o: buf.c flexdef.h flexint.h
* after version 2.5.28
+** moved the flex documentation to a new doc/ subdirectory
+
** cleanups to the yy namespace
* version 2.5.28 released 2003-2-12
--- /dev/null
+help2man = @HELP2MAN@
+
+info_TEXINFOS = flex.texi
+man_MANS = flex.1
+
+MAINTAINERCLEANFILES = \
+ flex.1 \
+ flex.hks \
+ flex.ops
+
+EXTRA_DIST = \
+ $(man_MANS)
+
+if MAINTAINER_MODE
+../flex:
+ cd .. && $(MAKE) flex
+
+$(man_MANS): $(top_srcdir)/main.c ../flex
+ for i in $(man_MANS) ; do \
+ $(help2man) --name='fast lexical analyzer generator' --section=`echo $$i|rev|cut -f 1 -d .|rev` ../flex > $$i ; \
+ done
+endif