From f29f3b5d9ff5cc3b70dac295c9589577ce1a41c7 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 11 Feb 2006 17:44:06 +0000 Subject: Separate header file installation from the general install target. Originally committed as revision 4981 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/Makefile | 4 ++-- libavcodec/libpostproc/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libavcodec') diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 9da1880f65..428e293ccd 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -503,7 +503,7 @@ fft-test: fft-test.o $(LIB) $(CC) -o $@ $^ $(LIBAVUTIL) -lm ifeq ($(BUILD_SHARED),yes) -install: all install-headers +install: all ifeq ($(CONFIG_WIN32),yes) install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)" else @@ -523,7 +523,7 @@ else install: endif -installlib: all install-headers +installlib: all install -m 644 $(LIB) "$(libdir)" ifeq ($(CONFIG_PP),yes) $(MAKE) -C libpostproc $@ diff --git a/libavcodec/libpostproc/Makefile b/libavcodec/libpostproc/Makefile index 05a8ce4ea0..8f32bb62f4 100644 --- a/libavcodec/libpostproc/Makefile +++ b/libavcodec/libpostproc/Makefile @@ -48,7 +48,7 @@ $(LIB): $(OBJS) $(AR) rc $@ $(OBJS) $(RANLIB) $@ -install: all install-headers +install: all ifeq ($(BUILD_SHARED),yes) ifeq ($(CONFIG_WIN32),yes) install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)" @@ -64,7 +64,7 @@ else endif endif -installlib: all install-headers +installlib: all install -m 644 $(LIB) "$(libdir)" install-headers: -- cgit v1.2.3