Fixed configure warning about datarootdir
authorSam Lantinga <slouken@libsdl.org>
Sun, 08 Jul 2007 05:58:51 +0000
changeset 2156cd041eb7eb4a
parent 2155 31269eb74914
child 2157 75a6c5deba84
Fixed configure warning about datarootdir
Makefile.in
     1.1 --- a/Makefile.in	Sun Jul 08 01:37:48 2007 +0000
     1.2 +++ b/Makefile.in	Sun Jul 08 05:58:51 2007 +0000
     1.3 @@ -6,11 +6,12 @@
     1.4  depend	= build-deps
     1.5  prefix = @prefix@
     1.6  exec_prefix = @exec_prefix@
     1.7 -bindir	= $(DESTDIR)@bindir@
     1.8 -libdir  = $(DESTDIR)@libdir@
     1.9 -includedir = $(DESTDIR)@includedir@
    1.10 -datadir	= $(DESTDIR)@datadir@
    1.11 -mandir	= $(DESTDIR)@mandir@
    1.12 +bindir	= @bindir@
    1.13 +libdir  = @libdir@
    1.14 +includedir = @includedir@
    1.15 +datarootdir = @datarootdir@
    1.16 +datadir	= @datadir@
    1.17 +mandir	= @mandir@
    1.18  auxdir	= @ac_aux_dir@
    1.19  distpath = $(srcdir)/..
    1.20  distdir = SDL-@SDL_VERSION@
    1.21 @@ -46,7 +47,7 @@
    1.22  LT_CURRENT  = @LT_CURRENT@
    1.23  LT_RELEASE  = @LT_RELEASE@
    1.24  LT_REVISION = @LT_REVISION@
    1.25 -LT_LDFLAGS  = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    1.26 +LT_LDFLAGS  = -no-undefined -rpath $(DESTDIR)$(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    1.27  
    1.28  all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET)
    1.29  
    1.30 @@ -82,49 +83,49 @@
    1.31  
    1.32  install: all install-bin install-hdrs install-lib install-data install-man
    1.33  install-bin:
    1.34 -	$(SHELL) $(auxdir)/mkinstalldirs $(bindir)
    1.35 -	$(INSTALL) -m 755 sdl-config $(bindir)/sdl-config
    1.36 +	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(bindir)
    1.37 +	$(INSTALL) -m 755 sdl-config $(DESTDIR)$(bindir)/sdl-config
    1.38  install-hdrs:
    1.39 -	$(SHELL) $(auxdir)/mkinstalldirs $(includedir)/SDL
    1.40 +	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(includedir)/SDL
    1.41  	for file in $(HDRS); do \
    1.42 -	    $(INSTALL) -m 644 $(srcdir)/include/$$file $(includedir)/SDL/$$file; \
    1.43 +	    $(INSTALL) -m 644 $(srcdir)/include/$$file $(DESTDIR)$(includedir)/SDL/$$file; \
    1.44  	done
    1.45 -	$(INSTALL) -m 644 include/SDL_config.h $(includedir)/SDL/SDL_config.h
    1.46 +	$(INSTALL) -m 644 include/SDL_config.h $(DESTDIR)$(includedir)/SDL/SDL_config.h
    1.47  install-lib: $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET)
    1.48 -	$(SHELL) $(auxdir)/mkinstalldirs $(libdir)
    1.49 -	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(libdir)/$(TARGET)
    1.50 -	$(INSTALL) -m 644 $(objects)/$(SDLMAIN_TARGET) $(libdir)/$(SDLMAIN_TARGET)
    1.51 -	$(RANLIB) $(libdir)/$(SDLMAIN_TARGET)
    1.52 +	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)
    1.53 +	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(DESTDIR)$(libdir)/$(TARGET)
    1.54 +	$(INSTALL) -m 644 $(objects)/$(SDLMAIN_TARGET) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET)
    1.55 +	$(RANLIB) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET)
    1.56  install-data:
    1.57 -	$(SHELL) $(auxdir)/mkinstalldirs $(datadir)/aclocal
    1.58 -	$(INSTALL) -m 644 $(srcdir)/sdl.m4 $(datadir)/aclocal/sdl.m4
    1.59 -	$(SHELL) $(auxdir)/mkinstalldirs $(libdir)/pkgconfig
    1.60 -	$(INSTALL) -m 644 sdl.pc $(libdir)/pkgconfig
    1.61 +	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(datadir)/aclocal
    1.62 +	$(INSTALL) -m 644 $(srcdir)/sdl.m4 $(DESTDIR)$(datadir)/aclocal/sdl.m4
    1.63 +	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)/pkgconfig
    1.64 +	$(INSTALL) -m 644 sdl.pc $(DESTDIR)$(libdir)/pkgconfig
    1.65  install-man:
    1.66 -	$(SHELL) $(auxdir)/mkinstalldirs $(mandir)/man3
    1.67 +	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3
    1.68  	for src in $(srcdir)/docs/man3/*.3; do \
    1.69  	    file=`echo $$src | sed -e 's|^.*/||'`; \
    1.70 -	    $(INSTALL) -m 644 $$src $(mandir)/man3/$$file; \
    1.71 +	    $(INSTALL) -m 644 $$src $(DESTDIR)$(mandir)/man3/$$file; \
    1.72  	done
    1.73  
    1.74  uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-man
    1.75  uninstall-bin:
    1.76 -	rm -f $(bindir)/sdl-config
    1.77 +	rm -f $(DESTDIR)$(bindir)/sdl-config
    1.78  uninstall-hdrs:
    1.79  	for file in $(HDRS); do \
    1.80 -	    rm -f $(includedir)/SDL/$$file; \
    1.81 +	    rm -f $(DESTDIR)$(includedir)/SDL/$$file; \
    1.82  	done
    1.83 -	rm -f $(includedir)/SDL/SDL_config.h
    1.84 -	-rmdir $(includedir)/SDL
    1.85 +	rm -f $(DESTDIR)$(includedir)/SDL/SDL_config.h
    1.86 +	-rmdir $(DESTDIR)$(includedir)/SDL
    1.87  uninstall-lib:
    1.88 -	$(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(TARGET)
    1.89 -	rm -f $(libdir)/$(SDLMAIN_TARGET)
    1.90 +	$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(TARGET)
    1.91 +	rm -f $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET)
    1.92  uninstall-data:
    1.93 -	rm -f $(datadir)/aclocal/sdl.m4
    1.94 +	rm -f $(DESTDIR)$(datadir)/aclocal/sdl.m4
    1.95  uninstall-man:
    1.96  	for src in $(srcdir)/docs/man3/*.3; do \
    1.97  	    file=`echo $$src | sed -e 's|^.*/||'`; \
    1.98 -	    rm -f $(mandir)/man3/$$file; \
    1.99 +	    rm -f $(DESTDIR)$(mandir)/man3/$$file; \
   1.100  	done
   1.101  
   1.102  clean: