Fix make install when PROGS is empty.

Originally committed as revision 10840 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2007-10-22 18:00:31 +00:00
parent e1a3a63f13
commit 1217916b0d
1 changed files with 4 additions and 1 deletions

View File

@ -35,6 +35,9 @@ ALL_TARGETS-$(BUILD_DOC) += documentation
INSTALL_TARGETS-$(CONFIG_VHOOK) += install-vhook
INSTALL_TARGETS-$(BUILD_DOC) += install-man
ifneq ($(PROGS),)
INSTALL_TARGETS-yes += install-progs
endif
VHOOKCFLAGS += $(filter-out -mdynamic-no-pic,$(CFLAGS))
@ -137,7 +140,7 @@ doc/%.pod: doc/%-doc.texi
doc/%.1: doc/%.pod
pod2man --section=1 --center=" " --release=" " $< > $@
install: install-progs install-libs install-headers $(INSTALL_TARGETS-yes)
install: install-libs install-headers $(INSTALL_TARGETS-yes)
ifeq ($(BUILD_SHARED),yes)
install-progs: install-libs