diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2022-02-23 00:35:41 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2022-02-23 21:23:55 +0100 |
commit | eeed44617b8b2bf4c941f6de334a9006804615fb (patch) | |
tree | e91570238753a4168e07c99f84fa4f7017e1f981 /interimap | |
parent | a7bae9d4eb282fe805834b8f4185a019fc9bb246 (diff) |
Don't assume Net::IMAP::InterIMAP is always in @INC.
And make the installation path configurable at `make` time. Moreover,
adjust the 'test' target so the site directory and interimap/pullimap
path are configurable with INTERIMAP_I and INTERIMAP_PATH respectively.
That way one can run `tests/run foo` to check the source, `make test` to
check what's been built, and we also have the possibility to check the
installed program e.g. for autopkgtests.
Diffstat (limited to 'interimap')
-rwxr-xr-x | interimap | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -32,6 +32,7 @@ use DBD::SQLite::Constants ':file_open'; use Fcntl qw/F_GETFD F_SETFD FD_CLOEXEC/; use List::Util 'first'; +use lib "./lib"; use Net::IMAP::InterIMAP 0.5.6 qw/xdg_basedir read_config compact_set/; # Clean up PATH |