Move INSTALL_PROGS_TARGETS variable to a better place.

Originally committed as revision 12616 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2008-03-28 03:07:55 +00:00
parent 88ad036874
commit dfd1083831

View File

@ -38,6 +38,7 @@ ifneq ($(PROGS),)
INSTALL_TARGETS-yes += install-progs
INSTALL_TARGETS-$(BUILD_DOC) += install-man
endif
INSTALL_PROGS_TARGETS-$(BUILD_SHARED) = install-libs
main: lib $(PROGS_G) $(PROGS) $(ALL_TARGETS-yes)
@ -138,8 +139,6 @@ doc/%.1: doc/%.pod
install: $(INSTALL_TARGETS-yes)
INSTALL_PROGS_TARGETS-$(BUILD_SHARED) = install-libs
install-progs: $(PROGS) $(INSTALL_PROGS_TARGETS-yes)
install -d "$(BINDIR)"
install -c -m 755 $(PROGS) "$(BINDIR)"