diff options
author | Robin Jarry <robin@jarry.cc> | 2023-12-05 20:46:55 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-12-14 23:05:07 +0100 |
commit | 73bf7241e611ea28e7a58584341921d1262afaa1 (patch) | |
tree | de7a87d1c8888d6e4309f5cf06f1a82f9e8ec051 /README.md | |
parent | 2db657b6bdd6394109c8adc32098d3f39c43f03d (diff) | |
download | aerc-73bf7241e611ea28e7a58584341921d1262afaa1.tar.gz |
lint,validate: fix for openbsd
- Remove GNU specific stuff (ln -v, mktemp --tempdir, grep --color)
- Remove GCC specific flags in sendemail-validate (-Warith-conversion)
- Add -std=c99 and -Wpedantic and fix the reported warnings.
- Explicitly call gmake everywhere.
- Run our custom analyzer standalone. Golangci lint plugins are not
supported on OpenBSD. Indirect dependency to golang.org/x/mod is
required somehow...
Reported-by: Johannes Thyssen Tishman <johannes@thyssentishman.com>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Johannes Thyssen Tishman <johannes@thyssentishman.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -10,7 +10,7 @@ by Drew DeVault. A short demonstration can be found on [https://aerc-mail.org/](https://aerc-mail.org/) -Join the IRC channel: [#aerc on irc.libera.chat](http://web.libera.chat/?channels=aerc&uio=d4) +Join the IRC channel: [#aerc on irc.libera.chat](http://web.libera.chat/?channels=aerc) for end-user support, and development. ## Usage @@ -72,11 +72,11 @@ Install the dependencies: older versions may be dropped at any time due to incompatibilities or newer required language features.)* - [scdoc](https://git.sr.ht/~sircmpwn/scdoc) -- GNU make (on \*BSD, `make` commands must be replaced by `gmake`). +- GNU make Then compile aerc: - $ make + $ gmake aerc optionally supports notmuch. To enable it, you need to have a recent version of [notmuch](https://notmuchmail.org/#index7h2), including the header @@ -89,16 +89,16 @@ check if it is, run the following command: If it is not, you can force it before building: - $ make GOFLAGS=-tags=notmuch + $ gmake GOFLAGS=-tags=notmuch If you have notmuch headers available but do not want to build notmuch support in aerc, force GOFLAGS to an empty value: - $ make GOFLAGS= + $ gmake GOFLAGS= To install aerc locally: - # make install + # gmake install By default, aerc will install config files to directories under `/usr/local/aerc`, and will search for templates and stylesets in these locations in order: @@ -112,8 +112,8 @@ At build time it is possible to add an extra location to this list and to use that location as the default install location for config files by setting the `PREFIX` option like so: - # make PREFIX=/custom/location - # make install PREFIX=/custom/location + # gmake PREFIX=/custom/location + # gmake install PREFIX=/custom/location This will install templates and other config files to `/custom/location/share/aerc`, and man pages to `/custom/location/share/man`. This extra location will have lower |