changeset 3112:31d15c4d86a0 libavcodec

Simplify header installation.
author diego
date Sat, 11 Feb 2006 19:30:55 +0000
parents 380d5841b346
children ab01ee59324f
files Makefile libpostproc/Makefile
diffstat 2 files changed, 4 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Feb 11 18:50:45 2006 +0000
+++ b/Makefile	Sat Feb 11 19:30:55 2006 +0000
@@ -525,13 +525,8 @@
 endif
 
 install-headers:
-	mkdir -p "$(prefix)/include/ffmpeg"
-	install -m 644 $(SRC_PATH)/libavcodec/avcodec.h \
-                "$(prefix)/include/ffmpeg"
-	install -m 644 $(SRC_PATH)/libavcodec/dsputil.h \
-                "$(prefix)/include/ffmpeg"
-	install -d "$(libdir)/pkgconfig"
-	install -m 644 ../libavcodec.pc "$(libdir)/pkgconfig"
+	install -m 644 avcodec.h dsputil.h "$(incdir)"
+	install -m 644 $(SRC_PATH)/libavcodec.pc "$(libdir)/pkgconfig"
 ifeq ($(CONFIG_PP),yes)
 	$(MAKE) -C libpostproc $@
 endif
--- a/libpostproc/Makefile	Sat Feb 11 18:50:45 2006 +0000
+++ b/libpostproc/Makefile	Sat Feb 11 19:30:55 2006 +0000
@@ -65,10 +65,8 @@
 	install -m 644 $(LIB) "$(libdir)"
 
 install-headers:
-	mkdir -p $(prefix)/include/postproc
-	install -m 644 $(SRC_PATH)/libavcodec/libpostproc/postprocess.h $(prefix)/include/postproc/postprocess.h
-	install -d $(libdir)/pkgconfig
-	install -m 644 ../../libpostproc.pc $(libdir)/pkgconfig
+	install -m 644 $postprocess.h $(prefix)/include/postproc/postprocess.h
+	install -m 644 $(SRC_PATH)/libpostproc.pc $(libdir)/pkgconfig
 
 
 #