1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +02:00

build: Remove all installed headers and header directories on uninstall

This commit is contained in:
Diego Biurrun 2012-08-07 17:05:34 +02:00
parent dfd9159f3d
commit a2b4d1df52

View File

@ -82,9 +82,9 @@ uninstall-libs::
-$(RM) "$(LIBDIR)/$(LIBNAME)" -$(RM) "$(LIBDIR)/$(LIBNAME)"
uninstall-headers:: uninstall-headers::
$(RM) $(addprefix "$(INCINSTDIR)/",$(HEADERS)) $(RM) $(addprefix "$(INCINSTDIR)/",$(HEADERS) $(BUILT_HEADERS))
$(RM) "$(LIBDIR)/pkgconfig/lib$(NAME).pc" $(RM) "$(LIBDIR)/pkgconfig/lib$(NAME).pc"
-rmdir "$(INCDIR)" -rmdir "$(INCINSTDIR)"
endef endef
$(eval $(RULES)) $(eval $(RULES))