Move INSTALL_PROGS_TARGETS variable to a better place.
[ffmpeg.git] / Makefile
index a185f7f..cd4acc2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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)"