[FFmpeg-cvslog] build: Remove all installed headers and header directories on uninstall

Diego Biurrun git at videolan.org
Thu Aug 9 01:02:20 CEST 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Aug  7 17:05:34 2012 +0200| [a2b4d1df52f3d551ebf12a2240dffe3e9c162190] | committer: Diego Biurrun

build: Remove all installed headers and header directories on uninstall

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a2b4d1df52f3d551ebf12a2240dffe3e9c162190
---

 library.mak |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/library.mak b/library.mak
index 3045640..9742ac4 100644
--- a/library.mak
+++ b/library.mak
@@ -82,9 +82,9 @@ uninstall-libs::
 	-$(RM) "$(LIBDIR)/$(LIBNAME)"
 
 uninstall-headers::
-	$(RM) $(addprefix "$(INCINSTDIR)/",$(HEADERS))
+	$(RM) $(addprefix "$(INCINSTDIR)/",$(HEADERS) $(BUILT_HEADERS))
 	$(RM) "$(LIBDIR)/pkgconfig/lib$(NAME).pc"
-	-rmdir "$(INCDIR)"
+	-rmdir "$(INCINSTDIR)"
 endef
 
 $(eval $(RULES))



More information about the ffmpeg-cvslog mailing list