Skip to content

Commit

Permalink
gard: fix installation rule
Browse files Browse the repository at this point in the history
Use $(EXE) for the binary name instead of hard-coding. This completes
the "gard: Use consistent name" change from commit 41109e5 ("gard:
Use consistent name")

Fixes: 41109e5 ("gard: Use consistent name")
Signed-off-by: Dan Horák <dan@danny.cz>
[oliver: prefix in title, fixes tag]
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
  • Loading branch information
sharkcz authored and oohal committed Jul 26, 2019
1 parent 1b638f8 commit 53baedf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions external/gard/rules.mk
Expand Up @@ -44,7 +44,7 @@ $(EXE): $(OBJS)
$(CC) $(LDFLAGS) $(CFLAGS) $^ -o $@

install: all
install -D gard $(DESTDIR)$(sbindir)/opal-gard
install -D -m 0644 opal-gard.1 $(DESTDIR)$(mandir)/man1/opal-gard.1
install -D $(EXE) $(DESTDIR)$(sbindir)/$(EXE)
install -D -m 0644 $(EXE).1 $(DESTDIR)$(mandir)/man1/$(EXE).1


0 comments on commit 53baedf

Please sign in to comment.