Make sure to also install new private.h, unfortunately necessary.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-06-18 08:37:37 +02:00
1 parent 3452fbd381
commit 0909decabc
1 file changed
+5 -3
+5 -3
View File
@@ -46,7 +46,7 @@ ARFLAGS = crus
MAKEFLAGS = --no-print-directory --silent MAKEFLAGS = --no-print-directory --silent
DISTFILES = README CHANGELOG TODO LICENSE DISTFILES = README CHANGELOG TODO LICENSE
HEADER = uev.h HEADERS = uev.h private.h
OBJS := uev.o io.o timer.o signal.o OBJS := uev.o io.o timer.o signal.o
SRCS := $(OBJS:.o=.c) SRCS := $(OBJS:.o=.c)
DEPS := $(SRCS:.c=.d) DEPS := $(SRCS:.c=.d)
@@ -98,8 +98,10 @@ endif
install-dev: install-dev:
@install -d $(DESTDIR)$(incdir)/$(LIBNAME) @install -d $(DESTDIR)$(incdir)/$(LIBNAME)
@printf " INSTALL $(DESTDIR)$(incdir)/$(LIBNAME)/$(HEADER)\n" @for file in $(HEADERS); do \
@install -m 0644 $(HEADER) $(DESTDIR)$(incdir)/$(LIBNAME)/$(HEADER) printf " INSTALL $(DESTDIR)$(incdir)/$(LIBNAME)/$$file\n"; \
install -m 0644 $$file $(DESTDIR)$(incdir)/$(LIBNAME)/$$file; \
done
ifdef STATIC ifdef STATIC
@printf " INSTALL $(DESTDIR)$(libdir)/$(STATICLIB)\n" @printf " INSTALL $(DESTDIR)$(libdir)/$(STATICLIB)\n"
@install -d $(DESTDIR)$(libdir) @install -d $(DESTDIR)$(libdir)