mirror of
https://git.sr.ht/~sircmpwn/aerc
synced 2024-11-23 08:32:12 +01:00
Makefile: Minor improvements, usage of $@ and $(RM)
This commit is contained in:
parent
3e7ac52e1b
commit
78fc83ef3d
4
Makefile
4
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 \
|
||||
|
Loading…
Reference in New Issue
Block a user