# HG changeset patch # User diego # Date 1139686255 0 # Node ID cff8bd30adfb01a92c254c8df5958a6e41f1ddc9 # Parent 7082e2e7a3cd2d1c041cf6b8ae92967bced13395 Simplify header installation. diff -r 7082e2e7a3cd -r cff8bd30adfb Makefile --- 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 $@ $<