Remove sdl.pc during "make uninstall" SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Thu, 08 Oct 2009 09:02:03 +0000
branchSDL-1.2
changeset 4285 f63ca354c35e
parent 4284 261ad7b40a31
child 4286 9ea4413f0a9e
Remove sdl.pc during "make uninstall" Fixes Bugzilla #813 for the 1.2 branch.
Makefile.in
--- a/Makefile.in	Thu Oct 08 07:48:37 2009 +0000
+++ b/Makefile.in	Thu Oct 08 09:02:03 2009 +0000
@@ -123,6 +123,7 @@
 	rm -f $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET)
 uninstall-data:
 	rm -f $(DESTDIR)$(datadir)/aclocal/sdl.m4
+	rm -f $(DESTDIR)$(libdir)/pkgconfig/sdl.pc
 uninstall-man:
 	for src in $(srcdir)/docs/man3/*.3; do \
 	    file=`echo $$src | sed -e 's|^.*/||'`; \