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.
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>
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.
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.
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.
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.
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.
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.
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.
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