Revert r21226, it was a joke:
[ffmpeg.git] / Makefile
index 319740a..bc8410e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -110,8 +110,16 @@ install-man: $(MANPAGES)
        install -d "$(MANDIR)/man1"
        install -m 644 $(MANPAGES) "$(MANDIR)/man1"
 
-uninstall:
-       @echo "I'm sorry, Dave. I'm afraid I can't do that"
+uninstall: uninstall-progs uninstall-data uninstall-man
+
+uninstall-progs:
+       rm -f $(addprefix "$(BINDIR)/", $(ALLPROGS))
+
+uninstall-data:
+       rm -rf "$(DATADIR)"
+
+uninstall-man:
+       rm -f $(addprefix "$(MANDIR)/man1/",$(ALLMANPAGES))
 
 testclean:
        rm -rf tests/vsynth1 tests/vsynth2 tests/data tests/*~