From bd7ce64996ef45a45cc571a17c399d889d72a813 Mon Sep 17 00:00:00 2001 From: David Wagner Date: Thu, 24 Nov 2016 17:20:35 +0100 Subject: Fix install path of include files They were installed under $prefix/ instead of $prefix/tinyalsa/ Signed-off-by: David Wagner --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5ae7c62..ce7a79e 100644 --- a/Makefile +++ b/Makefile @@ -2,13 +2,11 @@ export DESTDIR ?= export PREFIX ?= /usr/local export CROSS_COMPILE = -export INCDIR ?= $(PREFIX)/include +export INCDIR ?= $(PREFIX)/include/tinyalsa export LIBDIR ?= $(PREFIX)/lib export BINDIR ?= $(PREFIX)/bin export MANDIR ?= $(PREFIX)/share/man -INCDIR ?= $(PREFIX)/include - .PHONY: all all: $(MAKE) -C src @@ -23,7 +21,7 @@ clean: .PHONY: install install: - install -d $(DESTDIR)$(INCDIR)/tinyalsa + install -d $(DESTDIR)$(INCDIR)/ install include/tinyalsa/pcm.h $(DESTDIR)$(INCDIR)/ install include/tinyalsa/mixer.h $(DESTDIR)$(INCDIR)/ install include/tinyalsa/asoundlib.h $(DESTDIR)$(INCDIR)/ -- cgit v1.2.3