Browse Source

build: Remove all installed headers and header directories on uninstall

tags/n1.0
Diego Biurrun 13 years ago
parent
commit
a2b4d1df52
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      library.mak

+ 2
- 2
library.mak View File

@@ -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