summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-10-22 18:00:31 +0000
committerDiego Biurrun <diego@biurrun.de>2007-10-22 18:00:31 +0000
commit1217916b0dc4557801cea0627669787c86417913 (patch)
tree2f98cf09040921201e604774e61394c7b3245161 /Makefile
parente1a3a63f1383c8971b5ec1f2fd771e9edd31c92e (diff)
Fix make install when PROGS is empty.
Originally committed as revision 10840 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d3e0c7d6ff..edce657f28 100644
--- a/Makefile
+++ b/Makefile
@@ -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