diff options
author | Stefan Metzmacher <metze@samba.org> | 2020-02-06 18:07:56 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-02-06 12:11:08 -0700 |
commit | b57dbc2d308a849bdd532c4b7348bbbfdbf381f4 (patch) | |
tree | 6320c486f0ae7851293a5d361e501386c6cad090 /Makefile | |
parent | ad428769bc85b2d02fac6e385baa58d2afe6effe (diff) | |
download | liburing-b57dbc2d308a849bdd532c4b7348bbbfdbf381f4.tar.gz liburing-b57dbc2d308a849bdd532c4b7348bbbfdbf381f4.tar.bz2 |
configure/Makefile: introduce libdevdir defaults to $(libdir)
This makes it possible to install runtime libraries to
/lib/* and developement libraries to /usr/lib/*
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -13,6 +13,9 @@ all: @$(MAKE) -C test @$(MAKE) -C examples +partcheck: all + @echo "make partcheck => TODO add tests with out kernel support" + runtests: all @$(MAKE) -C test runtests runtests-loop: @@ -40,8 +43,8 @@ endif $< >$@ install: $(NAME).pc - @$(MAKE) -C src install prefix=$(DESTDIR)$(prefix) includedir=$(DESTDIR)$(includedir) libdir=$(DESTDIR)$(libdir) - $(INSTALL) -D -m 644 $(NAME).pc $(DESTDIR)$(libdir)/pkgconfig/$(NAME).pc + @$(MAKE) -C src install prefix=$(DESTDIR)$(prefix) includedir=$(DESTDIR)$(includedir) libdir=$(DESTDIR)$(libdir) libdevdir=$(DESTDIR)$(libdevdir) + $(INSTALL) -D -m 644 $(NAME).pc $(DESTDIR)$(libdevdir)/pkgconfig/$(NAME).pc $(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man2 $(INSTALL) -m 644 man/*.2 $(DESTDIR)$(mandir)/man2 |