Move INSTALL_PROGS_TARGETS variable to a better place.
authorDiego Biurrun <diego@biurrun.de>
Fri, 28 Mar 2008 03:07:55 +0000 (03:07 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 28 Mar 2008 03:07:55 +0000 (03:07 +0000)
Originally committed as revision 12616 to svn://svn.ffmpeg.org/ffmpeg/trunk

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_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)
 
 
 main: lib $(PROGS_G) $(PROGS) $(ALL_TARGETS-yes)
 
@@ -138,8 +139,6 @@ doc/%.1: doc/%.pod
 
 install: $(INSTALL_TARGETS-yes)
 
 
 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)"
 install-progs: $(PROGS) $(INSTALL_PROGS_TARGETS-yes)
        install -d "$(BINDIR)"
        install -c -m 755 $(PROGS) "$(BINDIR)"