Fixed include dir for lib header install
This commit is contained in:
parent
80471925db
commit
cd99ff50fb
3
Makefile
3
Makefile
@ -89,6 +89,7 @@ $(LIBNAME).hpp: $(HDRS)
|
|||||||
HEADERSRCDIR := build
|
HEADERSRCDIR := build
|
||||||
else
|
else
|
||||||
HEADERSRCDIR := src
|
HEADERSRCDIR := src
|
||||||
|
INCLUDEDIR := $(INCLUDEDIR)/$(LIBNAME)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@ -105,7 +106,7 @@ install:
|
|||||||
endif
|
endif
|
||||||
$(INSTALL) -d $(LIBDIR)
|
$(INSTALL) -d $(LIBDIR)
|
||||||
$(INSTALL) -m 644 $(OUTDIR)$(REALNAME) $(LIBDIR)
|
$(INSTALL) -m 644 $(OUTDIR)$(REALNAME) $(LIBDIR)
|
||||||
$(INSTALL) -d $(INCLUDEDIR)/$(LIBNAME)
|
$(INSTALL) -d $(INCLUDEDIR)
|
||||||
$(INSTALL) -m 644 $(HEADERSRCDIR)/$(LIBNAME).hpp $(INCLUDEDIR)
|
$(INSTALL) -m 644 $(HEADERSRCDIR)/$(LIBNAME).hpp $(INCLUDEDIR)
|
||||||
ifeq ($(UNAME_S),Darwin)
|
ifeq ($(UNAME_S),Darwin)
|
||||||
cd $(LIBDIR) && ln -sf $(REALNAME) $(SONAME)
|
cd $(LIBDIR) && ln -sf $(REALNAME) $(SONAME)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user