diff options
author | Diego Biurrun <diego@biurrun.de> | 2017-11-06 17:44:33 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-11-09 07:06:21 +0100 |
commit | fbf77b5ac37bf2a807d8336450801d7aecf2e359 (patch) | |
tree | ef58c143135cf974835336282c3a0f70d27f28a6 | |
parent | fbca6e7d162b9a7105d1059826dfe96616fa803a (diff) | |
download | ffmpeg-fbf77b5ac37bf2a807d8336450801d7aecf2e359.tar.gz |
build: Add uninstall-pkgconfig target to match install-lib*-pkgconfig
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | avbuild/library.mak | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -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)" diff --git a/avbuild/library.mak b/avbuild/library.mak index 4e4b3f196d..a4b57e8824 100644 --- a/avbuild/library.mak +++ b/avbuild/library.mak @@ -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)) |