[Ffmpeg-devel] [PATCH] make sure postproc include directory exists on headers install
Måns Rullgård
mru
Sun Feb 19 13:45:12 CET 2006
Erik Slagter <erik at slagter.name> writes:
> Without this line, postprocess.h gets installed as /usr/include/postproc
> instead of /usr/include/postproc/postprocess.h, if /usr/include/postproc
> does not already exist, wich is e.g. the case when making a package in
> an artificial build root.
Fixed slightly differently.
> Index: common.mak
> ===================================================================
> RCS file: /cvsroot/ffmpeg/ffmpeg/common.mak,v
> retrieving revision 1.1
> diff -u -p -r1.1 common.mak
> --- common.mak 13 Feb 2006 12:53:25 -0000 1.1
> +++ common.mak 19 Feb 2006 12:23:25 -0000
> @@ -86,6 +86,7 @@ install-lib-static: $(LIB)
> install -m 644 $(LIB) "$(libdir)"
>
> install-headers:
> + mkdir -p "${incdir}"
> install -m 644 $(addprefix "$(SRC_DIR)"/,$(HEADERS)) "$(incdir)"
> install -m 644 $(BUILD_ROOT)/lib$(NAME).pc "$(libdir)/pkgconfig"
>
--
M?ns Rullg?rd
mru at inprovide.com
More information about the ffmpeg-devel
mailing list