aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-02-11 20:53:55 +0000
committerDiego Biurrun <diego@biurrun.de>2006-02-11 20:53:55 +0000
commita44a8bb818934cc34d82fc4c61ae7b2abd906f91 (patch)
treee98893f752132029b91ad9b0fcb7626cb3eeaf1b
parenta050253f8cd7bfdbca122607e1acb6a46864bfe4 (diff)
downloadffmpeg-a44a8bb818934cc34d82fc4c61ae7b2abd906f91.tar.gz
libpostproc installs into a different directory that needs to be created.
Originally committed as revision 4991 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/libpostproc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/libpostproc/Makefile b/libavcodec/libpostproc/Makefile
index 83e059fdd1..1cc64352f8 100644
--- a/libavcodec/libpostproc/Makefile
+++ b/libavcodec/libpostproc/Makefile
@@ -3,6 +3,9 @@ include ../../config.mak
VPATH=$(SRC_PATH)/libavcodec/libpostproc
+# Overload incdir, postproc include files go in a different directory.
+incdir=$(prefix)/include/postproc
+
NAME=postproc
ifeq ($(BUILD_SHARED),yes)
LIBVERSION=$(SPPVERSION)
@@ -65,7 +68,8 @@ install-lib-static: $(LIB)
install -m 644 $(LIB) "$(libdir)"
install-headers:
- install -m 644 postprocess.h $(prefix)/include/postproc/postprocess.h
+ install -d $(incdir)
+ install -m 644 postprocess.h $(incdir)/postprocess.h
install -m 644 $(SRC_PATH)/libpostproc.pc $(libdir)/pkgconfig