Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--common.mak2
-rw-r--r--libpostproc/Makefile2
3 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7cd5a05192..0ce1e50e99 100644
--- a/Makefile
+++ b/Makefile
@@ -183,7 +183,6 @@ uninstall-headers:
$(MAKE) -C libavformat uninstall-headers
$(MAKE) -C libpostproc uninstall-headers
-rmdir "$(incdir)"
- -rmdir "$(prefix)/include/postproc"
depend dep: .depend
$(MAKE) -C libavutil depend
diff --git a/common.mak b/common.mak
index 43bcc57355..191598aca1 100644
--- a/common.mak
+++ b/common.mak
@@ -92,7 +92,7 @@ uninstall-libs:
"$(shlibdir)/$(SLIBNAME_WITH_VERSION)"
-rm -f "$(libdir)/$(LIB)"
-uninstall-headers:
+uninstall-headers::
rm -f $(addprefix "$(incdir)/",$(HEADERS))
rm -f "$(libdir)/pkgconfig/lib$(NAME).pc"
diff --git a/libpostproc/Makefile b/libpostproc/Makefile
index d30b4a18de..356ce2fcc4 100644
--- a/libpostproc/Makefile
+++ b/libpostproc/Makefile
@@ -22,3 +22,5 @@ depend dep: postprocess.c
postprocess_pic.o: postprocess.c
$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
+uninstall-headers::
+ -rmdir "$(prefix)/include/postproc"