[FFmpeg-cvslog] build: Add uninstall-pkgconfig target to match install-lib*-pkgconfig
Diego Biurrun
git at videolan.org
Sun Nov 12 06:04:10 EET 2017
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Nov 6 17:44:33 2017 +0100| [fbf77b5ac37bf2a807d8336450801d7aecf2e359] | committer: Diego Biurrun
build: Add uninstall-pkgconfig target to match install-lib*-pkgconfig
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fbf77b5ac37bf2a807d8336450801d7aecf2e359
---
Makefile | 2 +-
avbuild/library.mak | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index b1a2c301b5..1c10f15462 100644
--- a/Makefile
+++ b/Makefile
@@ -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))
More information about the ffmpeg-cvslog
mailing list