# HG changeset patch # User mru # Date 1203931331 0 # Node ID 8d1245b4d7fb11eda38f53fe253eeed4be1f15b9 # Parent 279387224d8c2db7aa4ecbba1a8b3f18cfeb7ecb Install headers in $prefix/include/$libname Install each library's headers in $prefix/include/$libname. The installed headers use #include "lib*/*.h"; applications are expected to do the same. Specify only $prefix/include in .pc files. diff -r 279387224d8c -r 8d1245b4d7fb Makefile --- a/Makefile Wed Feb 20 01:23:04 2008 +0000 +++ b/Makefile Mon Feb 25 09:22:11 2008 +0000 @@ -1,9 +1,6 @@ include ../config.mak -# Overload incdir, postproc include files go in a different directory. -INCDIR=$(prefix)/include/postproc - EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) NAME=postproc @@ -15,6 +12,3 @@ OBJS = postprocess.o include ../common.mak - -uninstall-headers:: - -rmdir "$(prefix)/include/postproc" diff -r 279387224d8c -r 8d1245b4d7fb postprocess.h --- a/postprocess.h Wed Feb 20 01:23:04 2008 +0000 +++ b/postprocess.h Mon Feb 25 09:22:11 2008 +0000 @@ -27,7 +27,7 @@ * external api for the pp stuff */ -#include "avutil.h" +#include "libavutil/avutil.h" #define LIBPOSTPROC_VERSION_TRIPLET 51,1,0