mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
build: Add uninstall-pkgconfig target to match install-lib*-pkgconfig
This commit is contained in:
parent
fbca6e7d16
commit
fbf77b5ac3
2
Makefile
2
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)"
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user