bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] SVN ignore: part 2


From: Juergen Sauermann
Subject: Re: [Bug-apl] SVN ignore: part 2
Date: Thu, 4 May 2017 12:35:51 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi Marcin,

actually all these files are in the GNU APL tar file which is generated by make dist.
The SVN repository is simply the unpacked tar file, provided for convenience.

It was mainly either  automake or autoconf which decided that these files should go into the tar
file produced by make dist, and I believe those who have developed autoconf/automake know
better than me why these files are in the tar file (and are therefore also in the SVN repository).

If you remove, for example, all the Makefile.in files, then ./configure does not work anymore.
You then need to install autoconf, which is not installed by default on most recent GNU/Linux
machines.

The strategy of GNU APL is to depend on as few other packages as possible, even at the price of
a few more files. I know that these redundant files create a few nasty svn warnings when updating
from SVN, but SVN has command line options (like --accept tc) to prevent them.

Best regards,
Jürgen Sauermann



On 05/04/2017 12:06 AM, Marcin Cieslak wrote:
The remaining files that are
autogenerated and - at the same time -
are included in the repository are:

m> svn status | grep '^M '
M       Makefile
M       Makefile.in
M       aclocal.m4
M       config.h
M       config.h.in
M       configure
M       debian/Makefile.in
M       debian/source/Makefile.in
M       doc/Makefile.in
M       erlang/Makefile.in
M       gnu-apl.d/Makefile.in
M       ltmain.sh
M       m4/libtool.m4
M       m4/ltoptions.m4
M       m4/ltversion.m4
M       rpm/Makefile.in
M       src/APs/Makefile.in
M       src/Makefile.in
M       src/buildtag.hh
M       src/emacs_mode/Makefile.in
M       src/makefile.h
M       src/native/Makefile.in
M       src/sql/Makefile.in
M       src/testcases/Makefile.in
M       src/workspaces/Makefile.in
M       support-files/105-key-International-Keyboard/Makefile.in
M       support-files/Dirk/Makefile.in
M       support-files/Dyalog-Keyboard/Makefile.in
M       support-files/Makefile.in
M       support-files/OS-X-Keyboard/Makefile.in
M       support-files/Unicomp-Keyboard/Makefile.in
M       support-files/WASD-Keyboard/Makefile.in
M       support-files/old-Keyboard/Makefile.in
M       tools/Makefile.in
M       workspaces/Makefile.in
M       wslib3/Makefile.in
M       wslib4/Makefile.in
M       wslib5/APLComponentFiles/Makefile.in
M       wslib5/Makefile.in
M       wslib5/iso-apl-cf/Makefile.in


Most of those files (configure, Makefile.in)
are autogenerated by automake and modified
after running autoreconf

I think they also should be removed from the SVN repository
and ignored there (added to the svn:ignore property).

People running GNU APL from SVN should do "autoreconf"
prior to trying to build it.

In the release tarball they should be included - release
users should be able just to run ./configure

I will also have a look at the way

src/buildtag.hh
src/makefile.h
src/configure_args.cc

are generated - I think we could generate them using automake
instead. This way an out-of-tree build could work again.

Marcin Cieślak




reply via email to

[Prev in Thread] Current Thread [Next in Thread]