Commit fbf77b5a authored by Diego Biurrun's avatar Diego Biurrun

build: Add uninstall-pkgconfig target to match install-lib*-pkgconfig

parent fbca6e7d
......@@ -161,7 +161,7 @@ install-data: $(DATA_FILES)
$(Q)mkdir -p "$(DATADIR)"
$(INSTALL) -m 644 $(DATA_FILES) "$(DATADIR)"
uninstall: uninstall-libs uninstall-headers uninstall-data
uninstall: uninstall-data uninstall-headers uninstall-libs uninstall-pkgconfig
uninstall-data:
$(RM) -r "$(DATADIR)"
......
......@@ -92,8 +92,10 @@ uninstall-libs::
uninstall-headers::
$(RM) $(addprefix "$(INCINSTDIR)/",$(HEADERS) $(BUILT_HEADERS))
$(RM) "$(LIBDIR)/pkgconfig/lib$(NAME).pc"
-rmdir "$(INCINSTDIR)"
uninstall-pkgconfig::
$(RM) "$(LIBDIR)/pkgconfig/lib$(NAME).pc"
endef
$(eval $(RULES))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment