[FFmpeg-devel] [PATCH 6/7] doc/examples: install them with the shared data.
Clément Bœsch
ubitux at gmail.com
Sat May 12 18:11:13 CEST 2012
On Thu, May 10, 2012 at 12:01:33AM +0200, Clément Bœsch wrote:
> ---
> Makefile | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 30d8750..11a3087 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -40,6 +40,7 @@ FFLIBS-$(CONFIG_SWSCALE) += swscale
> FFLIBS := avutil
>
> DATA_FILES := $(wildcard $(SRC_PATH)/presets/*.ffpreset) $(SRC_PATH)/doc/ffprobe.xsd
> +EXAMPLES_FILES := $(wildcard $(SRC_PATH)/doc/examples/*.c) $(SRC_PATH)/doc/examples/Makefile
>
> SKIPHEADERS = cmdutils_common_opts.h
>
> @@ -125,9 +126,10 @@ install-progs: install-progs-yes $(PROGS)
> $(Q)mkdir -p "$(BINDIR)"
> $(INSTALL) -c -m 755 $(INSTPROGS) "$(BINDIR)"
>
> -install-data: $(DATA_FILES)
> - $(Q)mkdir -p "$(DATADIR)"
> +install-data: $(DATA_FILES) $(EXAMPLES_FILES)
> + $(Q)mkdir -p "$(DATADIR)/examples"
> $(INSTALL) -m 644 $(DATA_FILES) "$(DATADIR)"
> + $(INSTALL) -m 644 $(EXAMPLES_FILES) "$(DATADIR)/examples"
>
> uninstall: uninstall-libs uninstall-headers uninstall-progs uninstall-data
>
I postpone this patch for a while since most of the examples looks not
up-to-date and broken at the moment.
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120512/7f66919c/attachment.asc>
More information about the ffmpeg-devel
mailing list