aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2016-11-22 09:49:47 -0800
committerTaylor Holberton <taylorcholberton@gmail.com>2016-11-22 09:49:47 -0800
commitb09056820223f92a955a21999d4e80fcabc56b8d (patch)
tree78c09bc3e5070a7735f2786665102bab90708753 /utils
parentf5f3250796252f568166ff7cda91049239d12514 (diff)
using install command instead of cp and mkdir
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 3093eee..6a9efb7 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -36,14 +36,14 @@ clean:
.PHONY: install
install: tinyplay tinycap tinymix tinypcminfo
- mkdir -p $(DESTDIR)$(BINDIR)
- cp -u tinyplay $(DESTDIR)$(BINDIR)/
- cp -u tinycap $(DESTDIR)$(BINDIR)/
- cp -u tinymix $(DESTDIR)$(BINDIR)/
- cp -u tinypcminfo $(DESTDIR)$(BINDIR)/
- mkdir -p $(DESTDIR)$(MANDIR)/man1
- cp -u tinyplay.1 $(DESTDIR)$(MANDIR)/man1/
- cp -u tinycap.1 $(DESTDIR)$(MANDIR)/man1/
- cp -u tinymix.1 $(DESTDIR)$(MANDIR)/man1/
- cp -u tinypcminfo.1 $(DESTDIR)$(MANDIR)/man1/
+ install -d $(DESTDIR)$(BINDIR)
+ install tinyplay $(DESTDIR)$(BINDIR)/
+ install tinycap $(DESTDIR)$(BINDIR)/
+ install tinymix $(DESTDIR)$(BINDIR)/
+ install tinypcminfo $(DESTDIR)$(BINDIR)/
+ install -d $(DESTDIR)$(MANDIR)/man1
+ install tinyplay.1 $(DESTDIR)$(MANDIR)/man1/
+ install tinycap.1 $(DESTDIR)$(MANDIR)/man1/
+ install tinymix.1 $(DESTDIR)$(MANDIR)/man1/
+ install tinypcminfo.1 $(DESTDIR)$(MANDIR)/man1/