From 1217916b0dc4557801cea0627669787c86417913 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 22 Oct 2007 18:00:31 +0000 Subject: [PATCH] Fix make install when PROGS is empty. Originally committed as revision 10840 to svn://svn.ffmpeg.org/ffmpeg/trunk --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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