Changeset 623
- Timestamp:
- May 9, 2011, 3:19:59 AM (12 years ago)
- Location:
- abuse/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/PACKAGERS
r622 r623 17 17 value, this expands to /usr/local/share/games/abuse. 18 18 19 To override the assets directory, use the `--with-asset sdir' configure flag,19 To override the assets directory, use the `--with-assetdir' configure flag, 20 20 for instance: 21 21 22 ./configure --with-asset sdir=/opt/abuse22 ./configure --with-assetdir=/opt/abuse 23 23 24 24 -
abuse/trunk/configure.ac
r614 r623 27 27 [ --disable-nonfree disable non-free data (default no)]) 28 28 29 AC_ARG_WITH(asset sdir,30 [ --with-asset sdir=DIRoverride default game data directory])29 AC_ARG_WITH(assetdir, 30 [ --with-assetdir=DIR override default game data directory]) 31 31 32 32 dnl Figure out where the datafiles will be 33 if test "x${with_asset sdir}" = x; then34 with_asset sdir='$(datadir)/games/abuse'33 if test "x${with_assetdir}" = x; then 34 with_assetdir='$(datadir)/games/abuse' 35 35 fi 36 AC_SUBST([asset sdir], [$with_assetsdir])36 AC_SUBST([assetdir], [$with_assetdir]) 37 37 38 38 dnl Checks for libraries … … 146 146 Compiler: ${CC} (`${CC} --version | head -n 1`) 147 147 Install prefix: ${prefix} 148 Asset s directory: ${with_assetsdir}148 Asset directory: ${with_assetdir} 149 149 SDL version: `sdl-config --version` 150 150 OpenGL support: ${have_opengl} -
abuse/trunk/data/Makefile.am
r614 r623 6 6 @for p in $(EXTRA_DIST); do \ 7 7 d="`echo \"$$p\" | sed -ne 's@\(.*\)/.*@\1@p'`"; \ 8 $(MKDIR_P) "$(DESTDIR)$(asset sdir)/$$d"; \9 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(asset sdir)/$$d"; \10 $(INSTALL_DATA) "$(srcdir)/$$p" "$(DESTDIR)$(asset sdir)/$$d" || exit $$?; \8 $(MKDIR_P) "$(DESTDIR)$(assetdir)/$$d"; \ 9 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(assetdir)/$$d"; \ 10 $(INSTALL_DATA) "$(srcdir)/$$p" "$(DESTDIR)$(assetdir)/$$d" || exit $$?; \ 11 11 done 12 12 13 13 uninstall-local: 14 14 @for p in $(EXTRA_DIST); do \ 15 echo " ( cd '$(DESTDIR)$(asset sdir)' && rm -f" $$p ")"; \16 cd "$(DESTDIR)$(asset sdir)" && rm -f $$p; \15 echo " ( cd '$(DESTDIR)$(assetdir)' && rm -f" $$p ")"; \ 16 cd "$(DESTDIR)$(assetdir)" && rm -f $$p; \ 17 17 done 18 18 -
abuse/trunk/src/sdlport/Makefile.am
r614 r623 19 19 INCLUDES = -I$(srcdir)/../ -I$(srcdir)/../imlib $(SDL_CFLAGS) 20 20 21 CPPFLAGS = @CPPFLAGS@ -DNO_CHECK -DASSET SDIR=\"$(datadir)/games/abuse\"21 CPPFLAGS = @CPPFLAGS@ -DNO_CHECK -DASSETDIR=\"$(assetdir)\" 22 22 -
abuse/trunk/src/sdlport/setup.cpp
r614 r623 102 102 fputs( "; Use OpenGL\ngl=0\n\n", fd ); 103 103 fputs( "; Location of the datafiles\ndatadir=", fd ); 104 fputs( ASSET SDIR "\n\n", fd );104 fputs( ASSETDIR "\n\n", fd ); 105 105 #endif 106 106 fputs( "; Use mono audio only\nmono=0\n\n", fd ); … … 430 430 set_filename_prefix( (const char*)buffer ); 431 431 #else 432 set_filename_prefix( ASSET SDIR );432 set_filename_prefix( ASSETDIR ); 433 433 #endif 434 434
Note: See TracChangeset
for help on using the changeset viewer.