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

Originally committed as revision 12613 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 17 years ago
parent a7319cc22a
commit c1ac39b3df
  1. 7
      Makefile

@ -143,10 +143,9 @@ doc/%.1: doc/%.pod
install: $(INSTALL_TARGETS-yes) install: $(INSTALL_TARGETS-yes)
ifeq ($(BUILD_SHARED),yes) INSTALL_PROGS_TARGETS-$(BUILD_SHARED) = install-libs
install-progs: install-libs
endif install-progs: $(PROGS) $(INSTALL_PROGS_TARGETS-yes)
install-progs: $(PROGS)
install -d "$(BINDIR)" install -d "$(BINDIR)"
install -c -m 755 $(PROGS) "$(BINDIR)" install -c -m 755 $(PROGS) "$(BINDIR)"

Loading…
Cancel
Save