In older versions of the install tool from the GNU coreutils package, the -t
option is not supported. The -t option can be safely replaced by the older
"install [OPTION]... SOURCE... DIRECTORY" format.
By changing the way we call install, we can make the iw tool more friendly to
ancient distributions.
Signed-off-by: Luciano Coelho <[email protected]>
---
Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index b0a4278..c51706b 100644
--- a/Makefile
+++ b/Makefile
@@ -86,10 +86,10 @@ check:
install: iw iw.8.gz
@$(NQ) ' INST iw'
$(Q)$(MKDIR) $(DESTDIR)$(SBINDIR)
- $(Q)$(INSTALL) -m 755 -t $(DESTDIR)$(SBINDIR) iw
+ $(Q)$(INSTALL) -m 755 iw $(DESTDIR)$(SBINDIR)
@$(NQ) ' INST iw.8'
$(Q)$(MKDIR) $(DESTDIR)$(MANDIR)/man8/
- $(Q)$(INSTALL) -m 644 -t $(DESTDIR)$(MANDIR)/man8/ iw.8.gz
+ $(Q)$(INSTALL) -m 644 iw.8.gz $(DESTDIR)$(MANDIR)/man8/
clean:
$(Q)rm -f iw *.o *~ *.gz version.c *-stamp
--
1.5.6.5