aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-08 15:13:48 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-08 15:13:48 +0000
commit65b48b3bedde90dc7e2a4dc7ab81f5afd200ebd8 (patch)
tree56217a81e7c054b0a9841a3ccd598c122d827a24 /Game/Code
parent9171899b2f4541fbc4a0a32ee062699b997d70ef (diff)
downloadusdx-65b48b3bedde90dc7e2a4dc7ab81f5afd200ebd8.tar.gz
usdx-65b48b3bedde90dc7e2a4dc7ab81f5afd200ebd8.tar.xz
usdx-65b48b3bedde90dc7e2a4dc7ab81f5afd200ebd8.zip
With the global build logs are now stored in ~/.UltraStarDeluxe/logs instead of /var/logs so we do not need special permissions on the log directory.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1242 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UPlatformLinux.pas2
-rw-r--r--Game/Code/config.inc.in1
-rw-r--r--Game/Code/configure.ac13
3 files changed, 2 insertions, 14 deletions
diff --git a/Game/Code/Classes/UPlatformLinux.pas b/Game/Code/Classes/UPlatformLinux.pas
index 7e9cac23..27fb130e 100644
--- a/Game/Code/Classes/UPlatformLinux.pas
+++ b/Game/Code/Classes/UPlatformLinux.pas
@@ -90,7 +90,7 @@ begin
{$IFDEF UseLocalDirs}
Result := ExtractFilePath(ParamStr(0));
{$ELSE}
- Result := LogPath + PathDelim;
+ Result := GetGameUserPath() + 'logs' + PathDelim;
{$ENDIF}
end;
diff --git a/Game/Code/config.inc.in b/Game/Code/config.inc.in
index e9165c30..90471b8d 100644
--- a/Game/Code/config.inc.in
+++ b/Game/Code/config.inc.in
@@ -8,7 +8,6 @@
{$@DEFINE_USE_LOCAL_DIRS@ UseLocalDirs}
{$IF (not Defined(UseLocalDirs)) and Defined(IncludeConstants)}
PathSuffix = WideString('@suffix@');
- LogPath = WideString('@logrootdir@/'+PathSuffix);
SharedPath = WideString('@sharerootdir@/'+PathSuffix);
{$IFEND}
diff --git a/Game/Code/configure.ac b/Game/Code/configure.ac
index 3dd1a6c3..cf8d8fb7 100644
--- a/Game/Code/configure.ac
+++ b/Game/Code/configure.ac
@@ -21,7 +21,7 @@ PACKAGE_IRC="#ultrastardx at quakenet.org"
AC_SUBST(PACKAGE_IRC)
# Specify a source-file so autoconf can check if the source-dir exists
-AC_CONFIG_SRCDIR(UltraStar.lpr)
+AC_CONFIG_SRCDIR(UltraStar.dpr)
# This one is not used by autoconf at the moment.
# When it is used maybe we don't need aclocal's -I parameter anymore.
@@ -292,13 +292,6 @@ if [[ x$suffix = xno -o x$suffix = xyes ]] ; then
fi
AC_SUBST(suffix)
-# add logdir option
-AC_ARG_WITH([logrootdir],
- [AS_HELP_STRING([--with-logrootdir=DIR],
- [logging root directory @<:@default=/var/log@:>@])],
- [with_logrootdir=$withval], [with_logrootdir="/var/log"])
-AC_SUBST(logrootdir, [$with_logrootdir])
-
# print misc options header
AC_ARG_WITH([cfg-dummy3], [
Development options:])
@@ -490,10 +483,6 @@ AC_MSG_NOTICE([
!!! If you want to contribute, visit the IRC-Channel instead:
!!! $PACKAGE_IRC
!!!
-!!! Known issues:
-!!! - Audio-output and -input are not working yet
-!!! - The editor is broken
-!!!
!!! PLEASE DO NOT SEND BUGREPORTS FOR THIS VERSION.
!!!
])