]> granicus.if.org Git - flex/commitdiff
move flex.texi and flex.1 to new doc/ subdirectory
authorWill Estes <wlestes@users.sourceforge.net>
Thu, 27 Feb 2003 15:37:44 +0000 (15:37 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Thu, 27 Feb 2003 15:37:44 +0000 (15:37 +0000)
Makefile.am
NEWS
configure.in
doc/.cvsignore [new file with mode: 0644]
doc/Makefile.am [new file with mode: 0644]
doc/flex.texi [moved from flex.texi with 100% similarity]

index bc20331b2e3c76a4907f716b3c486d5d3e274b67..aaefa24de74ad085eae369f55f0cbc2e4b1533ab 100644 (file)
@@ -35,7 +35,6 @@
 
 AM_YFLAGS = -d
 ACLOCAL_AMFLAGS = -I m4
-help2man = @HELP2MAN@
 m4 = @M4@
 indent = @INDENT@
 
@@ -45,7 +44,6 @@ AUTOMAKE_OPTIONS = \
        dist-bzip2 \
        1.7
 
-
 bin_PROGRAMS = flex
 lib_LIBRARIES = libfl.a
 
@@ -85,11 +83,7 @@ noinst_HEADERS = \
 include_HEADERS = \
        FlexLexer.h
 
-info_TEXINFOS =        flex.texi
-man_MANS = flex.1
-
 MAINTAINERCLEANFILES = \
-       flex.1 \
        ABOUT-NLS \
        config.rpath \
        config.sub \
@@ -98,8 +92,6 @@ MAINTAINERCLEANFILES = \
        config.sub \
        config.guess \
        depcomp \
-       flex.hks \
-       flex.ops \
        mkinstalldirs \
        install-sh \
        ABOUT-NLS \
@@ -132,13 +124,13 @@ EXTRA_DIST = \
        mkskel.sh \
        ABOUT-NLS \
        config.rpath \
-       gettext.h \
-       $(man_MANS)
+       gettext.h
 
 BUILT_SOURCES = \
        skel.c
 
 SUBDIRS = \
+       doc \
        m4  \
        examples \
        po \
@@ -151,13 +143,6 @@ 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'
 buf.o: buf.c flexdef.h flexint.h
diff --git a/NEWS b/NEWS
index 5106788b3442c9a81c6c52d9cc613c9c8619f135..a918fef9c1da73158d03a8d849f99e6902ef6955 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,8 @@ See the file COPYING for copying conditions.
 
 * 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
index c39bbda96a1a0c881f680defed6b73917f5db460..0c18d00d0a9ed2e00d413717b9bcab9550272f5e 100644 (file)
@@ -78,6 +78,7 @@ AC_CHECK_DECLS(__func__)
 AC_CONFIG_FILES(
 flex.spec
 Makefile
+doc/Makefile
 examples/Makefile
 examples/fastwc/Makefile
 examples/manual/Makefile
diff --git a/doc/.cvsignore b/doc/.cvsignore
new file mode 100644 (file)
index 0000000..44079ad
--- /dev/null
@@ -0,0 +1,26 @@
+*.aux
+*.cp
+*.cps
+*.dvi
+*.fn
+*.fns
+*.hk
+*.hks
+*.info*
+*.ky
+*.log
+*.op
+*.ops
+*.pg
+*.toc
+*.tp
+*.tps
+*.vr
+*.vrs
+Makefile
+Makefile.in
+flex.1
+mdate-sh
+stamp-*
+texinfo.tex
+version.texi
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644 (file)
index 0000000..a15ec54
--- /dev/null
@@ -0,0 +1,22 @@
+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
similarity index 100%
rename from flex.texi
rename to doc/flex.texi