build: Remove all installed headers and header directories on uninstall

pull/28/head
Diego Biurrun 13 years ago
parent dfd9159f3d
commit a2b4d1df52
  1. 4
      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))

Loading…
Cancel
Save