瀏覽代碼

Pre-create binary directory before copying binary

This may exist in most cases, but occasionally it does not and it aligns with the way the man page directory is pre-created as well.

Signed-off-by: MichaIng <micha@dietpi.com>
pull/145/head
MichaIng 3 年之前
committed by Mark Liffiton
父節點
當前提交
321e67b8ad
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      gpio/Makefile

+ 1
- 0
gpio/Makefile 查看文件

@@ -72,6 +72,7 @@ tags: $(SRC)
.PHONY: install
install: gpio
$Q echo "[Install]"
$Q mkdir -p $(DESTDIR)$(PREFIX)/bin
$Q cp gpio $(DESTDIR)$(PREFIX)/bin
ifneq ($(WIRINGPI_SUID),0)
$Q chown root.root $(DESTDIR)$(PREFIX)/bin/gpio


Loading…
取消
儲存