Replace ifeq to declare install-progs dependencies by a variable.

Originally committed as revision 12613 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2008-03-28 01:58:53 +00:00
parent a7319cc22a
commit c1ac39b3df

View File

@ -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)"