changeset 945:cff8bd30adfb libavformat

Simplify header installation.
author diego
date Sat, 11 Feb 2006 19:30:55 +0000
parents 7082e2e7a3cd
children 1214ae47de2b
files Makefile
diffstat 1 files changed, 2 insertions(+), 7 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
@@ -141,13 +141,8 @@
 	install -m 644 $(LIB) "$(libdir)"
 
 install-headers:
-	mkdir -p "$(prefix)/include/ffmpeg"
-	install -m 644 $(SRC_PATH)/libavformat/avformat.h $(SRC_PATH)/libavformat/avio.h \
-                $(SRC_PATH)/libavformat/rtp.h $(SRC_PATH)/libavformat/rtsp.h \
-                $(SRC_PATH)/libavformat/rtspcodes.h \
-                "$(prefix)/include/ffmpeg"
-	install -d "$(libdir)/pkgconfig"
-	install -m 644 ../libavformat.pc "$(libdir)/pkgconfig"
+	install -m 644 avformat.h avio.h rtp.h rtsp.h rtspcodes.h "$(prefix)/include/ffmpeg"
+	install -m 644 $(SRC_PATH)/libavformat.pc "$(libdir)/pkgconfig"
 
 %.o: %.c
 	$(CC) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $<