From: Diego Biurrun Date: Sun, 10 Jun 2007 21:29:56 +0000 (+0000) Subject: Move libpostproc-specific uninstallation command to the libpostproc Makefile. X-Git-Tag: v0.5~8732 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=fa62bdb8684ed7cfc77207004d79d2119dbc2723;p=coroid%2Fffmpeg_saccubus.git Move libpostproc-specific uninstallation command to the libpostproc Makefile. Originally committed as revision 9277 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/Makefile b/Makefile index 7cd5a0519..0ce1e50e9 100644 --- a/Makefile +++ b/Makefile @@ -183,7 +183,6 @@ uninstall-headers: $(MAKE) -C libavformat uninstall-headers $(MAKE) -C libpostproc uninstall-headers -rmdir "$(incdir)" - -rmdir "$(prefix)/include/postproc" depend dep: .depend $(MAKE) -C libavutil depend diff --git a/common.mak b/common.mak index 43bcc5735..191598aca 100644 --- a/common.mak +++ b/common.mak @@ -92,7 +92,7 @@ uninstall-libs: "$(shlibdir)/$(SLIBNAME_WITH_VERSION)" -rm -f "$(libdir)/$(LIB)" -uninstall-headers: +uninstall-headers:: rm -f $(addprefix "$(incdir)/",$(HEADERS)) rm -f "$(libdir)/pkgconfig/lib$(NAME).pc" diff --git a/libpostproc/Makefile b/libpostproc/Makefile index d30b4a18d..356ce2fcc 100644 --- a/libpostproc/Makefile +++ b/libpostproc/Makefile @@ -22,3 +22,5 @@ depend dep: postprocess.c postprocess_pic.o: postprocess.c $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $< +uninstall-headers:: + -rmdir "$(prefix)/include/postproc"