Browse Source

Merge pull request #1811 from ffontaine/master

Makefile.sharedlibrary: mkdir in install target
pull/2420/head
Sami Vaarala 7 years ago
committed by GitHub
parent
commit
9fab752176
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dist-files/Makefile.sharedlibrary

2
dist-files/Makefile.sharedlibrary

@ -56,6 +56,7 @@ libduktaped.so.$(REAL_VERSION):
# Symlinks depend on platform conventions.
.PHONY: install
install: libduktape.so.$(REAL_VERSION) libduktaped.so.$(REAL_VERSION)
mkdir -p $(INSTALL_PREFIX)/lib/
cp $+ $(INSTALL_PREFIX)/lib/
rm -f $(INSTALL_PREFIX)/lib/libduktape.so $(INSTALL_PREFIX)/lib/libduktape.so.$(SONAME_VERSION)
ln -s libduktape.so.$(REAL_VERSION) $(INSTALL_PREFIX)/lib/libduktape.so
@ -63,6 +64,7 @@ install: libduktape.so.$(REAL_VERSION) libduktaped.so.$(REAL_VERSION)
rm -f $(INSTALL_PREFIX)/lib/libduktaped.so $(INSTALL_PREFIX)/lib/libduktaped.so.$(SONAME_VERSION)
ln -s libduktaped.so.$(REAL_VERSION) $(INSTALL_PREFIX)/lib/libduktaped.so
ln -s libduktaped.so.$(REAL_VERSION) $(INSTALL_PREFIX)/lib/libduktaped.so.$(SONAME_VERSION)
mkdir -p $(INSTALL_PREFIX)/include/
cp $(DUKTAPE_SRCDIR)/duktape.h $(DUKTAPE_SRCDIR)/duk_config.h $(INSTALL_PREFIX)/include/
# Note: assumes /usr/local/include/ and /usr/local/lib/ are in include/link

Loading…
Cancel
Save