# HG changeset patch # User diego # Date 1139686255 0 # Node ID 31d15c4d86a004534351b601bf8beaf12606e536 # Parent 380d5841b34666e30aced6995c1e5b1accc6d58c Simplify header installation. diff -r 380d5841b346 -r 31d15c4d86a0 Makefile --- 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 diff -r 380d5841b346 -r 31d15c4d86a0 libpostproc/Makefile --- 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 #