.gitignore: ignore any __BASEDIR__ symlinks
commitfa4fd368d2aa9df0157238d45144d25d648f25df
authorKyle J. McKay <mackyle@gmail.com>
Wed, 4 Aug 2021 04:00:04 +0000 (3 21:00 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 4 Aug 2021 04:00:04 +0000 (3 21:00 -0700)
tree9760405bbe9bab3c868efb4f12453147d5c52fec
parent0d3f902d2fccc0ec7a92f0ed69346e4139939a59
.gitignore: ignore any __BASEDIR__ symlinks

Later perls do not contain the current directory (".") by default
in their include path.

In order to successfully run `perl -c` on the various perl scripts,
they must be able to find their include files.

Prior to install they contain a `use lib "__BASEDIR__"` line that
gets modified at install time to reflect the actual location of the
include base directory.

In order to use `perl -c` on the uninstalled versions, an explicit
`-I.` argument must be provided.

This can get especially tedious after a while.

An alternative is to create a symlink from __BASEDIR__ in the current
directory to `.` (or whereever the root of the include tree is
actually located).

While quite convenient, it's something to be added by individual
developers according to their preference rather than just blindly
adding such a symlink to the repository thereby affecting everyone.

However, to facilitate such use, it doesn't hurt to add an ignore
pattern for `__BASEDIR__` to the top-level .gitignore to help prevent
any possible accidents where such a link might get added and committed
unintentionally.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
.gitignore