comparison Makefile.in @ 1476:14937d7b7527

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
author Sam Lantinga <slouken@libsdl.org>
date Mon, 06 Mar 2006 18:31:30 +0000
parents b89bce877c0d
children e507811313ee
comparison
equal deleted inserted replaced
1475:d45aefcac017 1476:14937d7b7527
72 $(RANLIB) $@ 72 $(RANLIB) $@
73 73
74 install: install-bin install-hdrs install-lib install-data install-man 74 install: install-bin install-hdrs install-lib install-data install-man
75 install-bin: 75 install-bin:
76 $(SHELL) $(auxdir)/mkinstalldirs $(bindir) 76 $(SHELL) $(auxdir)/mkinstalldirs $(bindir)
77 $(INSTALL) -m 755 $(srcdir)/sdl-config $(bindir)/sdl-config 77 $(INSTALL) -m 755 sdl-config $(bindir)/sdl-config
78 install-hdrs: 78 install-hdrs:
79 $(SHELL) $(auxdir)/mkinstalldirs $(includedir)/SDL 79 $(SHELL) $(auxdir)/mkinstalldirs $(includedir)/SDL
80 for src in $(srcdir)/include/*.h; do \ 80 for src in $(srcdir)/include/*.h; do \
81 file=`echo $$src | sed -e 's|^.*/||'`; \ 81 file=`echo $$src | sed -e 's|^.*/||'`; \
82 $(INSTALL) -m 644 $$src $(includedir)/SDL/$$file; \ 82 $(INSTALL) -m 644 $$src $(includedir)/SDL/$$file; \