build: Remove all installed headers and header directories on uninstall
This commit is contained in:
parent
dfd9159f3d
commit
a2b4d1df52
@ -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…
x
Reference in New Issue
Block a user