Commit 64581372 authored by James Almer's avatar James Almer

Merge commit 'fbf77b5a'

* commit 'fbf77b5a':
  build: Add uninstall-pkgconfig target to match install-lib*-pkgconfig
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 6bf041a2 fbf77b5a
...@@ -127,7 +127,7 @@ install-data: $(DATA_FILES) ...@@ -127,7 +127,7 @@ install-data: $(DATA_FILES)
$(Q)mkdir -p "$(DATADIR)" $(Q)mkdir -p "$(DATADIR)"
$(INSTALL) -m 644 $(DATA_FILES) "$(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: uninstall-data:
$(RM) -r "$(DATADIR)" $(RM) -r "$(DATADIR)"
......
...@@ -97,8 +97,10 @@ uninstall-libs:: ...@@ -97,8 +97,10 @@ uninstall-libs::
uninstall-headers:: uninstall-headers::
$(RM) $(addprefix "$(INCINSTDIR)/",$(HEADERS) $(BUILT_HEADERS)) $(RM) $(addprefix "$(INCINSTDIR)/",$(HEADERS) $(BUILT_HEADERS))
$(RM) "$(PKGCONFIGDIR)/lib$(FULLNAME).pc"
-rmdir "$(INCINSTDIR)" -rmdir "$(INCINSTDIR)"
uninstall-pkgconfig::
$(RM) "$(PKGCONFIGDIR)/lib$(FULLNAME).pc"
endef endef
$(eval $(RULES)) $(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