From c1ac39b3df3e9cc86209b51df7cd32bd34d26d0b Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 28 Mar 2008 01:58:53 +0000 Subject: [PATCH] Replace ifeq to declare install-progs dependencies by a variable. Originally committed as revision 12613 to svn://svn.ffmpeg.org/ffmpeg/trunk --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 3892707337..2b865d903f 100644 --- a/Makefile +++ b/Makefile @@ -143,10 +143,9 @@ doc/%.1: doc/%.pod install: $(INSTALL_TARGETS-yes) -ifeq ($(BUILD_SHARED),yes) -install-progs: install-libs -endif -install-progs: $(PROGS) +INSTALL_PROGS_TARGETS-$(BUILD_SHARED) = install-libs + +install-progs: $(PROGS) $(INSTALL_PROGS_TARGETS-yes) install -d "$(BINDIR)" install -c -m 755 $(PROGS) "$(BINDIR)"