ref: cd97fb4b5cff1d1b9f2cf77b4ab0d2e726451b8e
parent: e471b4dd6c6c372785741a68a5cfd0adab610a7a
author: Tor Andersson <tor.andersson@artifex.com>
date: Thu Mar 7 08:05:35 EST 2019
Fix makefile install paths. Install the current configuration, don't hardwire it to build/release.
--- a/Makefile
+++ b/Makefile
@@ -108,14 +108,14 @@
install -d $(DESTDIR)$(libdir)/pkgconfig
install -d $(DESTDIR)$(bindir)
install -m 644 mujs.h $(DESTDIR)$(incdir)
- install -m 644 build/release/mujs.pc $(DESTDIR)$(libdir)/pkgconfig
- install -m 755 build/release/mujs $(DESTDIR)$(bindir)
+ install -m 644 $(OUT)/mujs.pc $(DESTDIR)$(libdir)/pkgconfig
+ install -m 755 $(OUT)/mujs $(DESTDIR)$(bindir)
install-static: install-common static
- install -m 644 build/release/libmujs.a $(DESTDIR)$(libdir)
+ install -m 644 $(OUT)/mujs.a $(DESTDIR)$(libdir)
install-shared: install-common shared
- install -m 755 build/release/libmujs.so $(DESTDIR)$(libdir)
+ install -m 755 $(OUT)/mujs.so $(DESTDIR)$(libdir)
install: install-static