aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Tatschner <stefan@rumpelsepp.org>2019-05-22 22:33:09 +0200
committerDrew DeVault <sir@cmpwn.com>2019-05-22 16:34:45 -0400
commit78fc83ef3d73cd0a2d988e464d5caf1e7ccf79e3 (patch)
tree32561fde7ae34914f17fc9be5beb1acd57270a5b
parent3e7ac52e1b56f8c626e803f23f1941eca22874f1 (diff)
Makefile: Minor improvements, usage of $@ and $(RM)
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 68d7895..5498a67 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ aerc:
go build $(GOFLAGS) \
-ldflags "-X main.Prefix=$(PREFIX)" \
-ldflags "-X main.ShareDir=$(SHAREDIR)" \
- -o aerc
+ -o $@
%.1: doc/%.1.scd
scdoc < $< > $@
@@ -32,7 +32,7 @@ doc: $(DOCS)
all: aerc doc
clean:
- rm -f *.1 *.5 aerc
+ $(RM) *.1 *.5 *.7 aerc
install: all
mkdir -p $(BINDIR) $(MANDIR)/man1 $(MANDIR)/man5 $(MANDIR)/man7 \