|
|
@ -207,13 +207,13 @@ tags: $(SRC) |
|
|
|
.PHONY: install |
|
|
|
.PHONY: install |
|
|
|
install: gpio |
|
|
|
install: gpio |
|
|
|
$Q echo "[Install]"
|
|
|
|
$Q echo "[Install]"
|
|
|
|
$Q cp gpio $(DESTDIR)$(PREFIX)/bin
|
|
|
|
$Q cp gpio $(DESTDIR)$(PREFIX)/bin/
|
|
|
|
ifneq ($(WIRINGPI_SUID),0) |
|
|
|
ifneq ($(WIRINGPI_SUID),0) |
|
|
|
$Q chown root.root $(DESTDIR)$(PREFIX)/bin/gpio
|
|
|
|
$Q chown root.root $(DESTDIR)$(PREFIX)/bin/gpio
|
|
|
|
$Q chmod 4755 $(DESTDIR)$(PREFIX)/bin/gpio
|
|
|
|
$Q chmod 4755 $(DESTDIR)$(PREFIX)/bin/gpio
|
|
|
|
endif |
|
|
|
endif |
|
|
|
$Q mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
|
|
|
|
$Q mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
|
|
|
|
$Q cp gpio.1 $(DESTDIR)$(PREFIX)/share/man/man1
|
|
|
|
$Q cp gpio.1 $(DESTDIR)$(PREFIX)/share/man/man1/
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: install-deb |
|
|
|
.PHONY: install-deb |
|
|
|
install-deb: gpio |
|
|
|
install-deb: gpio |
|
|
|