[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec/libpostproc Makefile, 1.35, 1.36

Diego Biurrun CVS diego
Sat Feb 11 17:50:48 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec/libpostproc
In directory mail:/var2/tmp/cvs-serv13682

Modified Files:
	Makefile 
Log Message:
Add installlib and install-headers targets like everywhere else.


Index: Makefile
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/libpostproc/Makefile,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- Makefile	26 Jan 2006 23:42:28 -0000	1.35
+++ Makefile	11 Feb 2006 16:50:45 -0000	1.36
@@ -48,7 +48,7 @@
 	$(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 @@
 	$(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





More information about the ffmpeg-cvslog mailing list