Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow user to specify different temp dir for building (#4349)
  • Loading branch information
thiloschulz committed Feb 7, 2011
1 parent 1d2d67c commit 54aa7f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Expand Up @@ -103,6 +103,10 @@ ifndef BUILD_DIR
BUILD_DIR=build
endif

ifndef TEMPDIR
TEMPDIR=/tmp
endif

ifndef GENERATE_DEPENDENCIES
GENERATE_DEPENDENCIES=1
endif
Expand Down Expand Up @@ -184,7 +188,6 @@ LOKISETUPDIR=misc/setup
NSISDIR=misc/nsis
SDLHDIR=$(MOUNT_DIR)/SDL12
LIBSDIR=$(MOUNT_DIR)/libs
TEMPDIR=/tmp

bin_path=$(shell which $(1) 2> /dev/null)

Expand Down Expand Up @@ -239,8 +242,6 @@ LIB=lib
INSTALL=install
MKDIR=mkdir

#ifneq (,$(findstring i86pc,$(shell uname -m)))
#ifneq (,findstring($(PLATFORM),linux gnu_kfreebsd kfreebsd-gnu))
ifneq (,$(findstring $(PLATFORM), linux gnu_kfreebsd kfreebsd-gnu))

ifeq ($(ARCH),axp)
Expand Down
1 change: 1 addition & 0 deletions README
Expand Up @@ -93,6 +93,7 @@ Makefile.local:
USE_CODEC_VORBIS - enable Ogg Vorbis support
USE_LOCAL_HEADERS - use headers local to ioq3 instead of system ones
COPYDIR - the target installation directory
TEMPDIR - specify user defined directory for temp files

The defaults for these variables differ depending on the target platform.

Expand Down

0 comments on commit 54aa7f2

Please sign in to comment.