aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2016-10-01 22:32:15 -0400
committerTaylor Holberton <taylorcholberton@gmail.com>2016-10-01 22:32:15 -0400
commitb4ea00f6bd2ee20c40780349ba00be6e56109531 (patch)
treec3d6009e6d2a165ae4064cfaf1307c89167282f6
parent2fdee65cf739c58b83b113e6ca179ff2fd6159d2 (diff)
Added DESTDIR to header install
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0956131..8767b8c 100644
--- a/Makefile
+++ b/Makefile
@@ -20,8 +20,8 @@ clean:
.PHONY: install
install: $(LIB) $(SHLIB)
- mkdir -p $(PREFIX)/include/tinyalsa
- cp -Ru $(INCDIR)/tinyalsa $(PREFIX)/include/
+ mkdir -p $(DESTDIR)$(PREFIX)/include
+ cp -Ru $(INCDIR)/tinyalsa $(DESTDIR)$(PREFIX)/include/
$(MAKE) -C src install
$(MAKE) -C utils install
$(MAKE) -C doxygen install