105 Commits

Author SHA1 Message Date
Mightyjo
2bb3bfd64f docs(contrib): Add CONTRIBUTING.md to EXTRA_DIST. 2023-03-30 15:40:11 -04:00
Will Estes
853c232b7e rename INSTALL to INSTALL.md 2022-09-28 07:00:11 -04:00
Will Estes
1c49f7e585 Documented building and installation of flex
Since GNU autotools no longer provides a stock INSTALLATION file, we provide one that speaks to flex specifically.

fixes #402
2022-09-27 16:50:19 -04:00
Daniel Brooks
8be9597d7d Use shellcheck on most of the shell scripts in the repository.
And add a "lint" target that runs shellcheck on them.
2020-10-21 17:08:22 -04:00
Will Estes
4c7e3a5a67 po: include update_linguas script in distribution.
Since automake takes a hands off approach to the po/ directory, we
need to list update_linguas.sh in the top Makefile.am. We list it as a
dist_noinst_SCRIPT so that it will get distributed with executeable
permissions. We also list autogen.sh in the same way for the same
reason.
2018-05-07 15:53:26 -04:00
Explorer09
dd1afa37e1 build: Add convenience targets to build libfl only
These are wrappers around automake- and libtool-generated targets,
allowing users to build libfl only, without the main flex program.

See GH-256 for discussion.

Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
2017-08-31 15:54:02 -04:00
Explorer09
7e06407175 Move libfl.pc.in to src subdirectory. 2017-08-27 00:17:57 +08:00
Tyler Slabinski
c1ed5df2f6 Create libfl.pc target for pkgconfig 2017-08-24 07:52:13 -04:00
Explorer09
2592576239 build: do not generate lib/Makefile.in.
Files in lib/ are picked up and built using makefile directives in
src/Makefile.am. Remove the need to generate lib/Makefile.in and the
stub lib/Makefile.am.
2017-05-03 13:14:16 -04:00
Explorer09
bb92951c02 build: Fix 'make indent' target
This 'make indent' target has not been working since the directories
reorganization in flex 2.6.0. Now make it work again.

Note that the current indent profile breaks many styles of existing
code. The indent target should not be used until the .indent.pro
options are reviewed for desireability.
2017-01-12 18:02:24 -05:00
Will Estes
7dcb10c048 build: for automake, flex is foreign 2016-10-19 17:00:50 -04:00
Michael Reed
e05e093047 Removed SHORT_FILE_NAMES preprocessor symbol.
As a relic of MS-DOS, we don't need this.

It's never defined; see 13b5b214f53d1c3354a7ab910bd160c126df1331.

Removed additional MSDOS ifdef.
2015-12-12 15:40:58 -05:00
Will Estes
5dbce367dc move m4 make variable to src/Makefile.am.
This prevents an error when building skel.c caused by the $(m4) make
variable not being defined. Particularly nasty since skel.c would
still be created, thus causing make to think skel.c was up to date.
2014-02-18 14:34:20 -05:00
Will Estes
45fe3acd7e Add tools/ directory.
Since tools/git2cl is a dependency of ChangeLog, not distributing
tools/git2cl with flex causes the "make dist" target to fail in the distributed tar ball.
2014-02-16 09:19:51 -05:00
Will Estes
b451ff4576 removes extraneous files from EXTRA_DIST as automake picks them up better without mentioning them 2014-02-16 09:19:51 -05:00
Will Estes
269620b900 move flex program sources into src/ directory
The *.[chly] sources are now in the src directory. This implies a
bunch of changes in Makefile.am and friends to account for the new
location. The .gitignore files are now more local to places where various object files and generated source files occur.
2014-02-16 09:19:51 -05:00
Will Estes
6a0490cda1 removed tools/ subdirectory from distribution
Since it is not possible to rebuild the ChangeLog file without being
in a git working directory of flex, distributing the tools directory is misleading. In particular, git2cl will always fail.
2014-02-13 10:11:21 -05:00
Will Estes
38a5907017 Remove incorrect / in install-exec-hook target 2013-05-28 19:55:50 -04:00
Christoph Junghans
dc56dc5103 add version information to shared library
Signed-off-by: Will Estes <westes575@gmail.com>
2012-12-08 13:59:18 -05:00
Christoph Junghans
b0ccdd451b Build libfl and libcompat using libtool; resolves #3586814
Signed-off-by: Will Estes <westes575@gmail.com>
2012-12-06 08:50:35 -05:00
Will Estes
cb6244c28b remove README.cvs from dist_doc_DATA in Makefile.am 2012-08-15 13:22:34 -04:00
Will Estes
9a66aa30e2 Add -f option to LN_S to create flex++
The autoconf macro LN_S needs -f to successfully install flex++ if
flex++ already exists. Fortunately, ln, ln -s and cp -p, which are the
various forms that LN_S can take all will do the right thing with a -f
argument passed.
2012-08-02 13:05:40 -04:00
Will Estes
60562d47d6 replace cvs2cl with git2cl
Add the git2cl script in tools/ and remove the (now unnecessary) cvs2cl
script. Remove tools/cvsauthors since git2cl does not need that file.
Account for all the above in Makefile.am and tools/Makefile.am
2012-08-02 12:31:41 -04:00
Will Estes
83f0c4cac9 provide malloc() and realloc() for systems that do not have satisfactory versions; resolves #1899047 2012-03-21 18:36:28 +00:00
Will Estes
0b19240738 install flex++ as a link; resolves bug #2939681 2012-03-21 01:41:58 +00:00
Will Estes
0063632bcb remove m4/ directory and generally clean up automake/autoconf inputs 2012-02-03 22:13:07 +00:00
Will Estes
31c27c9263 move ABOUT-NLS back to EXTRA_DIST 2008-05-31 21:14:10 +00:00
Will Estes
46793da291 create new dist_doc_DATA; move some EXTRA_DIST files to new dist_doc_DATA target 2008-05-31 18:11:57 +00:00
Will Estes
366d53f8e9 provide for a PIC version of libfl.a for shared libraries using flex scanners 2007-04-14 12:25:58 +00:00
Will Estes
0c632e1a8f remove homegrown tags target; automake does that for us 2007-04-13 01:50:13 +00:00
Will Estes
11c3037331 rename README.cvs-snapshot to README.cvs 2007-03-07 21:16:33 +00:00
Will Estes
2a7c023ff9 move automake options from Makefile.am to configure.in 2007-02-13 15:07:43 +00:00
Will Estes
8154568d4e remove maintainercleanfiles 2007-02-13 00:44:45 +00:00
John Millaway
0b91d61cb2 Added configure check for assert.h.
Added scanner flags stack.
2006-03-27 19:00:17 +00:00
John Millaway
c037821616 Removed includedir from AM_CPPFLAGS #1439351. 2006-03-22 00:15:10 +00:00
Will Estes
0b7b4d7753 remove website directory (since it now has its own module in the flex project 2006-02-18 19:09:48 +00:00
John Millaway
04ac2ec981 Removed reference to RoadMap in Makefile.am.
Added website directory.
2006-02-15 23:58:13 +00:00
Will Estes
9709dfdf79 only rebuild the ChangeLog if we're inside a cvs working directory 2003-03-26 19:15:31 +00:00
Will Estes
8d64c2b54b remove maintainer_mode conditional; add filter.c and regex.c to indentfiles; reformat and sort indentfiles so it's easier to add files in the future 2003-03-26 19:05:14 +00:00
Will Estes
2ea243b80a merge millaway's m4 branch work 2003-03-25 16:39:08 +00:00
Will Estes
06d0394e3f build on . in top level first; this will simplify calling help2man 2003-02-28 14:23:44 +00:00
Will Estes
c863276feb move flex.texi and flex.1 to new doc/ subdirectory 2003-02-27 15:37:44 +00:00
Will Estes
f24693a030 switch to using cvs2cl.pl to generate the ChangeLog 2003-01-31 17:37:50 +00:00
Will Estes
ac159d0beb add a spec file 2003-01-09 15:43:00 +00:00
Will Estes
7ec78e5eb7 enclose flex.1 target in MAINTERNER_MODE 2002-12-02 20:48:44 +00:00
Will Estes
c0d0f41c24 MAINTAINERCLEANFILES: new variable: try to make it so that make maintainer-clean erases everything not under version control 2002-11-27 14:05:27 +00:00
Will Estes
ceacaabc0e include intent.pro; indent target is MAINTAINER_MODE conditional 2002-10-22 13:37:05 +00:00
Will Estes
a4d1acbede typo 2002-10-21 14:45:52 +00:00
Will Estes
9a025a834a include README.cvs-snapshot in the distribution; in README-cvs-snapshot, mention the need for enable-maintainer-mode 2002-10-21 14:27:36 +00:00
Will Estes
8f45da06ad remove intl from dist 2002-10-11 15:04:09 +00:00