# HG changeset patch # User Sam Lantinga # Date 1141669890 0 # Node ID 14937d7b75275e2d27b6a62c5262cb897e201c24 # Parent d45aefcac017909f8fb090faf7d98b7844621550 Date: Mon, 6 Mar 2006 19:00:45 +0100 From: Patrice Mandin Subject: [SDL] Can not install generated sdl-config When building SDL when builddir != srcdir, then make install fails, because it tries to install sdl-config from srcdir, instead of builddir diff -r d45aefcac017 -r 14937d7b7527 Makefile.in --- a/Makefile.in Mon Mar 06 16:37:18 2006 +0000 +++ b/Makefile.in Mon Mar 06 18:31:30 2006 +0000 @@ -74,7 +74,7 @@ install: install-bin install-hdrs install-lib install-data install-man install-bin: $(SHELL) $(auxdir)/mkinstalldirs $(bindir) - $(INSTALL) -m 755 $(srcdir)/sdl-config $(bindir)/sdl-config + $(INSTALL) -m 755 sdl-config $(bindir)/sdl-config install-hdrs: $(SHELL) $(auxdir)/mkinstalldirs $(includedir)/SDL for src in $(srcdir)/include/*.h; do \