chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile: do not require GNU install
[elogind.git]
/
extras
/
firmware
/
Makefile
diff --git
a/extras/firmware/Makefile
b/extras/firmware/Makefile
index 55ba22386f8078813dec79efa4e5d96abf26e2e3..5e84acb15634a6a5fa3bcde80cb680097b5f65f8 100644
(file)
--- a/
extras/firmware/Makefile
+++ b/
extras/firmware/Makefile
@@
-17,10
+17,10
@@
libudevdir = ${prefix}/lib/udev
mandir = ${prefix}/usr/share/man
configdir = ${etcdir}/udev/
mandir = ${prefix}/usr/share/man
configdir = ${etcdir}/udev/
-INSTALL =
/usr/bin/
install -c
+INSTALL = install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
-INSTALL_SCRIPT = ${INSTALL
_PROGRAM
}
+INSTALL_SCRIPT = ${INSTALL}
all: $(PROG) $(MAN_PAGES)
.PHONY: all
all: $(PROG) $(MAN_PAGES)
.PHONY: all
@@
-37,7
+37,8
@@
clean:
.PHONY: clean
install-bin: all
.PHONY: clean
install-bin: all
- $(INSTALL_PROGRAM) -D $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
+ $(INSTALL) -d $(DESTDIR)$(libudevdir)
+ $(INSTALL_SCRIPT) $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
.PHONY: install-bin
uninstall-bin:
.PHONY: install-bin
uninstall-bin:
@@
-46,7
+47,7
@@
uninstall-bin:
install-man:
@echo "Please create a man page for this tool."
install-man:
@echo "Please create a man page for this tool."
-.PHONY:
un
install-man
+.PHONY: install-man
uninstall-man:
@echo "Please create a man page for this tool."
uninstall-man:
@echo "Please create a man page for this tool."