summaryrefslogtreecommitdiff
path: root/util/pmh7tool
diff options
context:
space:
mode:
Diffstat (limited to 'util/pmh7tool')
-rw-r--r--util/pmh7tool/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/pmh7tool/Makefile b/util/pmh7tool/Makefile
index 9b3921aac2..0a2ebbe147 100644
--- a/util/pmh7tool/Makefile
+++ b/util/pmh7tool/Makefile
@@ -12,7 +12,8 @@ $(PROGRAM): pmh7tool.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
install: $(PROGRAM)
- $(INSTALL) $(PROGRAM) $(PREFIX)/sbin
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/sbin
+ $(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin
clean:
rm -f *.o $(PROGRAM)