[FFmpeg-devel] [PATCH] Install preset files from ffpresets/ to ${prefix}/share/ffmpeg
Diego Biurrun
diego
Sat Jan 24 17:29:47 CET 2009
On Sat, Jan 24, 2009 at 04:04:36PM +0000, Robert Swain wrote:
> 2009/1/24 Robert Swain <robert.swain at gmail.com>:
> > Please find attached a patch to install the preset files, that reside
> > in the ffpresets subdirectory of trunk, to ${prefix}/share/ffmpeg.
>
> Oops, I meant to attach this patch...
>
> --- configure (revision 16713)
> +++ configure (working copy)
> @@ -914,6 +915,7 @@
> incdir
> libdir
> mandir
> + datadir
> prefix
> shlibdir
> '
> @@ -1111,6 +1113,7 @@
> incdir_default='${prefix}/include'
> libdir_default='${prefix}/lib'
> mandir_default='${prefix}/share/man'
> +datadir_default='${prefix}/share/ffmpeg'
> shlibdir_default="$libdir_default"
To order I call ye!
> --- Makefile (revision 16713)
> +++ Makefile (working copy)
> @@ -24,6 +24,8 @@
>
> +DATA_FILES := $(wildcard $(SRC_DIR)/ffpresets/*.ffpreset)
I think the .ffpreset is redundant.
> @@ -37,6 +39,7 @@
> ifneq ($(PROGS),)
> INSTALL_TARGETS-yes += install-progs
> INSTALL_TARGETS-$(BUILD_DOC) += install-man
> +INSTALL_TARGETS-yes += install-data
This line is duplicated, add install-data to the instance above.
> @@ -133,6 +136,10 @@
> install -d "$(MANDIR)/man1"
> install -m 644 $(MANPAGES) "$(MANDIR)/man1"
>
> +install-data: $(DATA_FILES)
> + install -d "$(DATADIR)"
> + install -m 644 $(DATA_FILES) "$(DATADIR)"
Place this above install-man.
Diego
More information about the ffmpeg-devel
mailing list