build: Add uninstall-pkgconfig target to match install-lib*-pkgconfig
[ffmpeg.git] / avbuild / library.mak
index 4e4b3f1..a4b57e8 100644 (file)
@@ -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))