diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-06-18 09:42:41 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-07-13 12:46:34 -0400 |
commit | 61a9e72f4c7276771d4ae966918358c27b90bc23 (patch) | |
tree | b45c75f31c5b6ffecc91787c80d9faf17452cfce /Makefile | |
parent | b34242560e361d0fd73a9f49e4be7052b96cde5e (diff) |
Add aerc -v to print the installed version0.1.3
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,9 @@ .POSIX: .SUFFIXES: .SUFFIXES: .1 .5 .7 .1.scd .5.scd .7.scd + +VERSION?=0.1.1 + VPATH=doc PREFIX?=/usr/local _INSTDIR=$(DESTDIR)$(PREFIX) @@ -16,6 +19,7 @@ aerc: $(GOSRC) go build $(GOFLAGS) \ -ldflags "-X main.Prefix=$(PREFIX)" \ -ldflags "-X main.ShareDir=$(SHAREDIR)" \ + -ldflags "-X main.Version=$(VERSION)" \ -o $@ aerc.conf: config/aerc.conf.in |