fixed a couple of stupid things.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5141 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2017-08-14 17:43:13 +00:00
parent c4d3497054
commit bc0dd0492c
2 changed files with 10 additions and 12 deletions

View file

@ -1830,26 +1830,28 @@ qccgui-scintilla: scintilla$(BITS)_static
ifdef windir
debugdir:
@-mkdir -p $(subst /,\, $(OUT_DIR))
@-mkdir -p "$(subst /,\, $(OUT_DIR))"
reldir:
@-mkdir -p $(subst /,\, $(OUT_DIR))
@-mkdir -p "$(subst /,\, $(OUT_DIR))"
else
reldir:
@-mkdir -p $(RELEASE_DIR)
@-mkdir -p $(OUT_DIR)
@-mkdir -p "$(RELEASE_DIR)"
@-mkdir -p "$(OUT_DIR)"
debugdir:
@-mkdir -p $(DEBUG_DIR)
@-mkdir -p $(OUT_DIR)
@-mkdir -p "$(DEBUG_DIR)"
@-mkdir -p "$(OUT_DIR)"
endif
plugins-dbg: debugdir
plugins-dbg:
@-mkdir -p $(DEBUG_DIR)
@if test -e ../plugins/Makefile; \
then $(MAKE) native -C ../plugins OUT_DIR="$(DEBUG_DIR)" CC="$(CC) $(W32_CFLAGS) $(DEBUG_CFLAGS)" BASE_CFLAGS="$(BASE_CFLAGS)" FTE_TARGET="$(FTE_TARGET)"; \
else echo no plugins directory installed; \
fi
plugins:
plugins-rel: reldir
plugins-rel:
@-mkdir -p $(RELEASE_DIR)
@if test -e ../plugins/Makefile; \
then $(MAKE) native -C ../plugins OUT_DIR="$(RELEASE_DIR)" CC="$(CC) $(W32_CFLAGS) $(RELEASE_CFLAGS)" BASE_CFLAGS="$(BASE_CFLAGS)" FTE_TARGET="$(FTE_TARGET)"; \
else echo no plugins directory installed; \

View file

@ -4161,8 +4161,6 @@ static qboolean Sys_SteamHasFile(char *basepath, int basepathlen, char *steamdir
Then take a look at that location for the relevent installed app.
*/
FILE *f;
DWORD resultlen;
HKEY key = NULL;
char *ev = getenv("HOME");
if (ev && *ev)
@ -4180,8 +4178,6 @@ static qboolean Sys_SteamHasFile(char *basepath, int basepathlen, char *steamdir
fclose(f);
return true;
}
/.local/share/Steam
}
return false;
}