aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
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 /src/Makefile
parentf5f3250796252f568166ff7cda91049239d12514 (diff)
using install command instead of cp and mkdir
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 4c392cd..8bc5bda 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -40,8 +40,8 @@ clean:
.PHONY: install
install: libtinyalsa.a libtinyalsa.so.1
- mkdir -p $(DESTDIR)$(LIBDIR)/
+ install -d $(DESTDIR)$(LIBDIR)/
ln -sf libtinyalsa.so.1 $(DESTDIR)$(LIBDIR)/libtinyalsa.so
- cp -u libtinyalsa.a $(DESTDIR)$(LIBDIR)/
- cp -u libtinyalsa.so.1 $(DESTDIR)$(LIBDIR)/
+ install libtinyalsa.a $(DESTDIR)$(LIBDIR)/
+ install libtinyalsa.so.1 $(DESTDIR)$(LIBDIR)/