34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
From 52b9a0583d5cb53db2f4da8fd82c64450696754c Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
|
|
Date: Tue, 16 Jul 2019 09:18:03 +0200
|
|
Subject: [PATCH] fix opal-gard installation rule
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Use $(EXE) for the binary name instead of hard-coding. This completes
|
|
the "gard: Use consistent name" change from commit 41109e5073bdd7eaf7da9eb81c824f3d79073881
|
|
|
|
Signed-off-by: Dan Horák <dan@danny.cz>
|
|
---
|
|
external/gard/rules.mk | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/external/gard/rules.mk b/external/gard/rules.mk
|
|
index 522b16f8..9e8b5813 100644
|
|
--- a/external/gard/rules.mk
|
|
+++ b/external/gard/rules.mk
|
|
@@ -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
|
|
|
|
|
|
--
|
|
2.21.0
|
|
|