summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-10-05 00:47:41 -0300
committerJames Almer <jamrial@gmail.com>2017-10-05 11:35:56 -0300
commitcafd9d66ed9e1bad4ae579a3935f7af57a567a51 (patch)
tree34f2a7eb69bbf42c9920d9b4a5421c865c5bb701 /Makefile
parent0a499d6a57409926011e1952fcf7ca39224663d6 (diff)
downloadffmpeg-cafd9d66ed9e1bad4ae579a3935f7af57a567a51.tar.gz
build: add install targets for the examples
Split it off from install-data. Among other things, this prevents spamming triplicate log lines during install. Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 3007da50f7..4a1253a052 100644
--- a/Makefile
+++ b/Makefile
@@ -120,11 +120,9 @@ install: install-libs install-headers
install-libs: install-libs-yes
-install-data: $(DATA_FILES) $(EXAMPLES_FILES) $(EXAMPLE_MAKEFILE)
- $(Q)mkdir -p "$(DATADIR)/examples"
+install-data: $(DATA_FILES)
+ $(Q)mkdir -p "$(DATADIR)"
$(INSTALL) -m 644 $(DATA_FILES) "$(DATADIR)"
- $(INSTALL) -m 644 $(EXAMPLES_FILES) "$(DATADIR)/examples"
- $(INSTALL) -m 644 $(EXAMPLE_MAKEFILE:%=%.example) "$(DATADIR)/examples/Makefile"
uninstall: uninstall-libs uninstall-headers uninstall-data