Fix make uninstall on systems with executable suffixes
authorJason Garrett-Glaser <darkshikari@gmail.com>
Wed, 24 Mar 2010 14:25:01 +0000 (07:25 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Sat, 27 Mar 2010 19:47:33 +0000 (12:47 -0700)
Makefile

index 4cd5775..24cf324 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -210,7 +210,7 @@ endif
 
 uninstall:
        rm -f $(DESTDIR)$(includedir)/x264.h $(DESTDIR)$(libdir)/libx264.a
-       rm -f $(DESTDIR)$(bindir)/x264 $(DESTDIR)$(libdir)/pkgconfig/x264.pc
+       rm -f $(DESTDIR)$(bindir)/x264$(EXE) $(DESTDIR)$(libdir)/pkgconfig/x264.pc
        $(if $(SONAME), rm -f $(DESTDIR)$(libdir)/$(SONAME) $(DESTDIR)$(libdir)/libx264.$(SOSUFFIX))
 
 etags: TAGS