[x264-devel] [PATCH 5/9] build: Use 'install-static' as a subrecipe for 'install-lib-static'
Stephen Hutchinson
qyot27 at gmail.com
Sat Apr 26 23:45:19 CEST 2014
'lib-static' is now used only as the shortcut for default
---
Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 19f591c..e7c9195 100644
--- a/Makefile
+++ b/Makefile
@@ -261,8 +261,10 @@ install-lib-pc: x264.pc
$(INSTALL) -d $(DESTDIR)$(libdir) $(DESTDIR)$(libdir)/pkgconfig
$(INSTALL) -m 644 $< $(DESTDIR)$(libdir)/pkgconfig
-install-lib-static: lib-static install-lib-dev
- $(INSTALL) -m 644 $(LIBX264) $(DESTDIR)$(libdir)
+install-lib-static: install-lib-dev install-static
+
+install-static: $(LIBX264)
+ $(INSTALL) -m 644 $< $(DESTDIR)$(libdir)
$(if $(RANLIB), $(RANLIB) $(DESTDIR)$(libdir)/$(LIBX264))
install-lib-shared: lib-shared install-lib-dev
--
1.9.1
More information about the x264-devel
mailing list