OSDN Git Service

Merge remote-tracking branch 'qatar/master'
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 12 Jun 2011 01:26:38 +0000 (03:26 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 12 Jun 2011 02:30:19 +0000 (04:30 +0200)
* qatar/master:
  build: fix "make install" with documentation disabled
  build: simplify some conditional targets

Merged-by: Michael Niedermayer <michaelni@gmx.at>
1  2 
Makefile

diff --cc Makefile
+++ b/Makefile
@@@ -43,20 -41,10 +43,14 @@@ FF_LDFLAGS   := $(FFLDFLAGS
  FF_EXTRALIBS := $(FFEXTRALIBS)
  FF_DEP_LIBS  := $(DEP_LIBS)
  
ALL_TARGETS-$(CONFIG_DOC)       += documentation
all-$(CONFIG_DOC): documentation
  
- ifdef PROGS
- INSTALL_TARGETS-yes             += install-progs install-data
- INSTALL_TARGETS-$(CONFIG_DOC)   += install-man
- endif
- INSTALL_PROGS_TARGETS-$(CONFIG_SHARED) = install-libs
- all: $(FF_DEP_LIBS) $(PROGS) $(ALL_TARGETS-yes)
+ all: $(FF_DEP_LIBS) $(PROGS)
  
 +$(PROGS): %$(EXESUF): %_g$(EXESUF)
 +      $(CP) $< $@
 +      $(STRIP) $@
 +
  config.h: .config
  .config: $(wildcard $(FFLIBS:%=$(SRC_DIR)/lib%/all*.c))
        @-tput bold 2>/dev/null