]> git.sesse.net Git - ffmpeg/commitdiff
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 7cd5a05192d60215a93a91b9d4addbc648174894..0ce1e50e99350f9e7ce16ca3c62896f1e9b4fb31 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 43bcc57355df48d4aed67be28130ffc4168a6b1c..191598aca1e09d1f5c319894a781fd9f45061335 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 d30b4a18dea4bf2da142681706380eae76b30325..356ce2fcc4480c4a2d2326ba4be0364eb57a2dfc 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"