aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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