Move libpostproc-specific uninstallation command to the libpostproc Makefile.
authorDiego Biurrun <diego@biurrun.de>
Sun, 10 Jun 2007 21:29:56 +0000 (21:29 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 10 Jun 2007 21:29:56 +0000 (21:29 +0000)
Originally committed as revision 9277 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile
common.mak
libpostproc/Makefile

index 7cd5a05..0ce1e50 100644 (file)
--- 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
index 43bcc57..191598a 100644 (file)
@@ -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"
 
index d30b4a1..356ce2f 100644 (file)
@@ -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"