ref: fb33b359d5cc5c8cff0eb9958b62df65e238bf0f
parent: 17a87e80817120f1d45327ddaba231ca16ea5092
author: Martin Storsjö <martin@martin.st>
date: Wed Jan 7 15:24:09 EST 2015
Add $(DESTDIR) for the install-static rule as well The change for adding these were merged after the commit for adding $(DESTDIR) was done.
--- a/Makefile
+++ b/Makefile
@@ -236,8 +236,8 @@
install -m 644 $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX) $(DESTDIR)/$(PREFIX)/lib
install-static: install-static-lib $(PROJECT_NAME)-static.pc
- mkdir -p $(PREFIX)/lib/pkgconfig
- install -m 644 $(PROJECT_NAME)-static.pc $(PREFIX)/lib/pkgconfig/$(PROJECT_NAME).pc
+ mkdir -p $(DESTDIR)/$(PREFIX)/lib/pkgconfig
+ install -m 644 $(PROJECT_NAME)-static.pc $(DESTDIR)/$(PREFIX)/lib/pkgconfig/$(PROJECT_NAME).pc
install-shared: $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX) install-headers $(PROJECT_NAME).pc
mkdir -p $(DESTDIR)/$(SHAREDLIB_DIR)