summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-02-11 16:50:45 +0000
committerDiego Biurrun <diego@biurrun.de>2006-02-11 16:50:45 +0000
commitc86eb7ae86befd2f0cc9e9a50fd9ed1c0bc5da6e (patch)
treebdbb0506eb4003218fc0b65a44cf5a525c294137
parentd9c2bab2f8a3f9c6bda53da5b5377a3057d0d44b (diff)
Add installlib and install-headers targets like everywhere else.
Originally committed as revision 4977 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/libpostproc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/libpostproc/Makefile b/libavcodec/libpostproc/Makefile
index e293721d03..05a8ce4ea0 100644
--- a/libavcodec/libpostproc/Makefile
+++ b/libavcodec/libpostproc/Makefile
@@ -48,7 +48,7 @@ $(LIB): $(OBJS)
$(AR) rc $@ $(OBJS)
$(RANLIB) $@
-install: all
+install: all install-headers
ifeq ($(BUILD_SHARED),yes)
ifeq ($(CONFIG_WIN32),yes)
install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)"
@@ -63,6 +63,11 @@ else
$(LDCONFIG) || true
endif
endif
+
+installlib: all install-headers
+ 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