summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-03-28 01:58:53 +0000
committerDiego Biurrun <diego@biurrun.de>2008-03-28 01:58:53 +0000
commitc1ac39b3df3e9cc86209b51df7cd32bd34d26d0b (patch)
treecc88919ed4fea3d568c6adc8477b2805b4829b0b /Makefile
parenta7319cc22a6d39f706ec6cd4034a8dde7d557822 (diff)
Replace ifeq to declare install-progs dependencies by a variable.
Originally committed as revision 12613 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 3892707337..2b865d903f 100644
--- a/Makefile
+++ b/Makefile
@@ -143,10 +143,9 @@ doc/%.1: doc/%.pod
install: $(INSTALL_TARGETS-yes)
-ifeq ($(BUILD_SHARED),yes)
-install-progs: install-libs
-endif
-install-progs: $(PROGS)
+INSTALL_PROGS_TARGETS-$(BUILD_SHARED) = install-libs
+
+install-progs: $(PROGS) $(INSTALL_PROGS_TARGETS-yes)
install -d "$(BINDIR)"
install -c -m 755 $(PROGS) "$(BINDIR)"