Commit Graph

63 Commits

Author SHA1 Message Date
Robin Jarry 1f99581f67 mk: use debug to generate a non-optimized binary
Do not use this to run the debugger. Instead, build a non-optimized
binary and display what command should be executed to attach to
a running program.

Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-02-02 22:12:08 +01:00
Mark Dain 1864680bfc mk: add make checkinstall
Adds a quick way to ensure the install was successful.
2022-01-24 09:38:45 +01:00
Robin Jarry 44f81c87e4 mk: syntax cleanup
Avoid multiline strings. Use dlv --build-flags.

Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-21 21:56:40 +01:00
Robin Jarry e97e0d8ab1 mk: be compatible with bsd make
ifeq is not supported by bsd make. We don't need this. Use a simple
shell command.

Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-21 21:56:40 +01:00
Robin Jarry 34d36bad0d Revert "mk: only install if files changed"
This reverts commit 22ad9e199a.

This breaks install on macOS:

      install -m755 -D aerc /usr/local/bin/aerc
      install: illegal option -- D

Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-21 21:38:01 +01:00
Robin Jarry 0709115916 mk: avoid searching in hidden directories at the root
Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-20 21:43:47 +01:00
Robin Jarry 22ad9e199a mk: only install if files changed
Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-19 22:02:44 +01:00
Robin Jarry 877a94f5d9 compose: add default template for new messages
Allow defining a default template to use when composing new messages.
Add an example to be used for new users.

Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-19 21:42:41 +01:00
Robin Jarry f81d8871c7 Release version 0.7.1
Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-15 12:14:32 +01:00
Robin Jarry 4d7d01b3f0 Release version 0.7.0
Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-14 21:23:18 +01:00
psykose bc087d9b30 mk: remove version override
some build systems build inside a git environment- most notably,
alpine aports is built inside an aports tree. this override prevents
a VERSION=$pkgver override from being passed at build time and makes
aerc think its version is an alpine version from aports:

< aerc -v
aerc v3.15.0.r122.gb306bc1c4c
2021-12-13 14:56:22 +01:00
Robin Jarry 6857ab7a71 build: add check for code formatting
Let's avoid pushing unformatted code.

Signed-off-by: Robin Jarry <robin@jarry.cc>
2021-12-11 23:13:27 +01:00
Robin Jarry c303b95336 Release version 0.6.0
Signed-off-by: Robin Jarry <robin@jarry.cc>
2021-11-09 21:10:17 +01:00
Reto Brunner 077063ba4b Makefile: use git version string if we can
Some packagers overwrote the version we embed in aerc, we really don't want that.
Hence we force clear the variable at the beginning of the makefile.
If git is available and returns a useful info we now use that version instead
of the hardcoded version
2021-02-07 19:25:06 +01:00
y0ast da265a56e4 Make makefile compatible with 3.81 (default MacOS)
Enables using the makefile with mac default make.
2020-12-24 10:56:16 +01:00
Reto Brunner fb67d1f5a3 version bump: 0.5.2 2020-11-14 00:23:43 +01:00
Reto Brunner a2fd88d2d4 makefile: add debug target 2020-11-13 23:54:00 +01:00
Reto Brunner f6a0eb8e14 update the makefile version 2020-11-10 20:56:49 +01:00
JD dadc9bf2b3 Makefile: remove aerc-stylesets upon uninstall 2020-09-27 15:35:04 +02:00
Kalyan Sriram 905cb9dfd3 Implement style configuration.
Introduce the ability to configure stylesets, allowing customization of
aerc's look (color scheme, font weight, etc). Default styleset is
installed to /path/to/aerc/stylesets/default.
2020-08-06 21:42:06 +02:00
Reto Brunner 3d784c5d8c Revert "Implement style configuration."
This reverts commit 1ff687ca2b.
2020-07-30 23:22:32 +02:00
Kalyan Sriram 1ff687ca2b Implement style configuration.
Introduce the ability to configure stylesets, allowing customization of
aerc's look (color scheme, font weight, etc). Default styleset is
installed to /path/to/aerc/stylesets/default.
2020-07-30 19:35:59 +02:00
Ben Fiedler eea128f10b Fix usage of DESTDIR
It should only be used when installing/uninstalling according to
the GNU spec.

Closes: https://todo.sr.ht/~sircmpwn/aerc2/418
2020-07-05 14:40:58 +02:00
Drew DeVault caad1b2c06 Revert "Add Style configuration"
This reverts commit 0f78f06610.
2020-05-28 10:32:42 -04:00
Reto Brunner 0f78f06610 Add Style configuration
The following functionalities are added to configure aerc ui styles.
- Read stylesets from file with very basic fnmatch wildcard matching
- Add default styleset
- Support different stylesets as part of UiConfig allowing contextual
  styles.
- Move widgets/ui elements to use the stylesets.
- Add configuration manual for the styleset
2020-05-27 07:57:10 +02:00
Drew DeVault 2e7f15b698 Update version to 0.4.0 2020-05-19 12:12:27 -04:00
Ariel Popper 6794ce0d9c Add missing man pages to uninstall target in Makefile 2019-12-24 23:55:00 +01:00
Leszek Cimała cd54bcd041 fix make install directiories permissions
Hi everyone!
On my system I have strict umask set, so make install creates them
unreadable by non-root. This trivial fix ensures, that directories are
created as expected.

Leszek
2019-12-07 14:29:57 -05:00
Drew DeVault eff8208cd9 Update version to 0.3.0 2019-11-21 09:34:46 -05:00
Srivathsan Murali c5bc97081f Install aerc-templates 2019-11-19 22:39:18 -05:00
Srivathsan Murali 3ba69edab5 Add Templates with Parsing
+ Changes NewComposer to return error.
+ Add lib to handle templates using "text/template".
+ Add -T option to following commands
    - compose.
    - reply
    - forward
+ Quoted replies using templates.
+ Forwards as body using templates
+ Default templates are installed similar to filters.
+ Templates Config in aerc.conf.
    - Required templates are parsed while loading config.
+ Add aerc-templates.7 manual for using template data.
2019-11-10 10:15:49 -05:00
Reto Brunner 94b9d557de extract search criteria parsing into the backends 2019-08-29 08:44:10 +09:00
Reto Brunner 0016775278 Add notmuch docs 2019-08-08 10:11:20 +09:00
Drew DeVault 23444e6c78 Update version to 0.2.1 2019-07-29 16:24:09 -04:00
Drew DeVault 72e6802266 Change how VERSION is set in Makefile 2019-07-29 16:23:05 -04:00
Drew DeVault 48758136c0 Implement sendmail support 2019-07-27 11:19:49 -04:00
Kacper Kołodziej 6c0f228451 Makefile: Use GO variable to specify compiler path
It is useful when somebody has different Go versions across one system
and first go in $PATH points to version older than 1.12 (common in
stable distributions).

Signed-off-by: Kacper Kołodziej <kacper@kolodziej.it>
2019-07-23 10:41:15 -04:00
Ben Burwell 7a26b48c22 Add maildir docs 2019-07-12 11:26:39 -04:00
Drew DeVault 177651bdda Move contrib -> filters 2019-06-27 09:32:46 -04:00
Reto Brunner 90db2e54b0 Makefile: fix -ldflags -X invocation
Aerc uses the go linker to add some variables like main.Prefix / main.ShareDir
etc. however the go linker only considers the last -ldflags invocation it seems.

This commit fixes the makefile to use only a single -ldflags invocation, which
again sets the vars as expected.
2019-06-19 15:48:13 -04:00
Drew DeVault 74af57b6c6 Add aerc -v to print the installed version 2019-06-18 09:50:06 -04:00
Lyle Hanson d3b5a76b4a Add uninstall target to Makefile
Also removes leftover directories if there isn't anything else in them.

https://todo.sr.ht/~sircmpwn/aerc2/179
2019-06-14 09:56:54 -04:00
Drew DeVault 74d4c0219d Update filter names in Makefile 2019-06-07 12:05:05 -04:00
Jonas Kalderstam eabdcff863 Added config file to Make clean
Config file will be incorrect if make is run with different values for
PREFIX otherwise.
2019-06-04 14:29:47 -04:00
rage 311 cbbdb232e8 Fix Makefile for non-GNU find
derp
2019-06-03 18:11:00 -04:00
Sam Whited 0bfb90baed Remove more GNU-isms from Makefile
Signed-off-by: Sam Whited <sam@samwhited.com>
2019-06-01 10:49:01 -04:00
Sam Whited 7a8f4084ff Remove "wildcard" GNU-ism from Makefile
Signed-off-by: Sam Whited <sam@samwhited.com>
2019-05-30 10:27:13 -04:00
Drew DeVault 887ff6550d Implement :edit in compose screen 2019-05-26 11:58:14 -04:00
Drew DeVault d30a6e3d1f Subsitute prefix in aerc.conf for install 2019-05-26 10:27:22 -04:00
Stefan Tatschner 78fc83ef3d Makefile: Minor improvements, usage of $@ and $(RM) 2019-05-22 16:34:45 -04:00