aboutsummaryrefslogtreecommitdiff
path: root/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 /Makefile
parentf5f3250796252f568166ff7cda91049239d12514 (diff)
using install command instead of cp and mkdir
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f1be254..5ae7c62 100644
--- a/Makefile
+++ b/Makefile
@@ -23,8 +23,11 @@ clean:
.PHONY: install
install:
- mkdir -p $(DESTDIR)$(INCDIR)/tinyalsa
- cp -Ru include/tinyalsa $(DESTDIR)$(INCDIR)/
+ install -d $(DESTDIR)$(INCDIR)/tinyalsa
+ install include/tinyalsa/pcm.h $(DESTDIR)$(INCDIR)/
+ install include/tinyalsa/mixer.h $(DESTDIR)$(INCDIR)/
+ install include/tinyalsa/asoundlib.h $(DESTDIR)$(INCDIR)/
+ install include/tinyalsa/version.h $(DESTDIR)$(INCDIR)/
$(MAKE) -C src install
$(MAKE) -C utils install
$(MAKE) -C doxygen install