Date: Mon, 6 Mar 2006 19:00:45 +0100
authorSam Lantinga <slouken@libsdl.org>
Mon, 06 Mar 2006 18:31:30 +0000
changeset 1476 14937d7b7527
parent 1475 d45aefcac017
child 1477 577b41f7dc1d
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
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 \