[x264-devel] [PATCH 01/11] build: Do not let the install-cli target depend on a phony target

Diego Biurrun diego at biurrun.de
Sun Feb 5 09:02:43 CET 2017


Real dependencies are preferable to phony ones where possible.
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index d0b1633..2fdffcc 100644
--- a/Makefile
+++ b/Makefile
@@ -280,9 +280,9 @@ clean:
 distclean: clean
 	rm -f config.mak x264_config.h config.h config.log x264.pc x264.def conftest*
 
-install-cli: cli
+install-cli: x264$(EXE)
 	$(INSTALL) -d $(DESTDIR)$(bindir)
-	$(INSTALL) x264$(EXE) $(DESTDIR)$(bindir)
+	$(INSTALL) $< $(DESTDIR)$(bindir)
 
 install-lib-dev:
 	$(INSTALL) -d $(DESTDIR)$(includedir)
-- 
2.1.4



More information about the x264-devel mailing list