diff options
author | David Wagner <david.wagner@intel.com> | 2016-11-24 17:20:35 +0100 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2016-11-24 17:20:35 +0100 |
commit | bd7ce64996ef45a45cc571a17c399d889d72a813 (patch) | |
tree | e1c4268b0f5878844d485fe0517b3fe4dde6bf2e /Makefile | |
parent | 22c43513f5c05713efdb00e96b7fba0e75c3b40e (diff) |
Fix install path of include files
They were installed under $prefix/ instead of $prefix/tinyalsa/
Signed-off-by: David Wagner <david.wagner@intel.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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)/ |