changeset 3115:76d320e10dca libavcodec

libpostproc installs into a different directory that needs to be created.
author diego
date Sat, 11 Feb 2006 20:53:55 +0000
parents 8e5b48dad33e
children e5e4f74f006d
files libpostproc/Makefile
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpostproc/Makefile	Sat Feb 11 20:40:01 2006 +0000
+++ b/libpostproc/Makefile	Sat Feb 11 20:53:55 2006 +0000
@@ -3,6 +3,9 @@
 
 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 -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