Hide user resources in .GNUstep for standalone packages

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34019 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-10-18 05:56:03 +00:00
parent 0fe8c87e1d
commit 871e8a2571
3 changed files with 21 additions and 20 deletions

View file

@ -1,3 +1,8 @@
2011-10-18 Richard Frith-Macdonald <rfm@gnu.org>
* standalone.conf: example configuration file for a stanadalone
package installation.
2011-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Make sourcing of default config file more reliable.

View file

@ -361,11 +361,7 @@ substUser(NSString *str)
static inline NSString *
getPath(NSString *path)
{
if ([path isEqualToString: @"."] == YES)
{
path = gnustepConfigPath;
}
else if ([path hasPrefix: @"./"] == YES)
if ([path hasPrefix: @"./"] == YES)
{
path = [gnustepConfigPath stringByAppendingPathComponent:
[path substringFromIndex: 2]];

View file

@ -20,9 +20,8 @@
# directory.
GNUSTEP_DEFAULT_PREFIX=~
# These are only used by gnustep-base to implement the NSUserDirectory
# API. We never install anything in them. They will be used as they
# are without $prefix.
# These are only used to implement the NSUserDirectory API.
# They are used literall, without the default prefix.
GNUSTEP_SYSTEM_USERS_DIR=/home
GNUSTEP_NETWORK_USERS_DIR=/home
GNUSTEP_LOCAL_USERS_DIR=/home
@ -67,16 +66,17 @@ GNUSTEP_LOCAL_DOC=./Documentation
GNUSTEP_LOCAL_DOC_MAN=./man
GNUSTEP_LOCAL_DOC_INFO=./info
GNUSTEP_USER_DIR_APPS=GNUstep/Applications
GNUSTEP_USER_DIR_ADMIN_APPS=GNUstep/Applications/Admin
GNUSTEP_USER_DIR_WEB_APPS=GNUstep/WebApplications
GNUSTEP_USER_DIR_TOOLS=GNUstep/Tools
GNUSTEP_USER_DIR_ADMIN_TOOLS=GNUstep/Tools/Admin
GNUSTEP_USER_DIR_LIBRARY=GNUstep/Library
GNUSTEP_USER_DIR_HEADERS=GNUstep/Library/Headers
GNUSTEP_USER_DIR_LIBRARIES=GNUstep/Library/Libraries
GNUSTEP_USER_DIR_DOC=GNUstep/Library/Documentation
GNUSTEP_USER_DIR_DOC_MAN=GNUstep/Library/Documentation/man
GNUSTEP_USER_DIR_DOC_INFO=GNUstep/Library/Documentation/info
GNUSTEP_USER_DIR_APPS=.GNUstep/Applications
GNUSTEP_USER_DIR_ADMIN_APPS=.GNUstep/Applications/Admin
GNUSTEP_USER_DIR_WEB_APPS=.GNUstep/WebApplications
GNUSTEP_USER_DIR_TOOLS=.GNUstep/Tools
GNUSTEP_USER_DIR_ADMIN_TOOLS=.GNUstep/Tools/Admin
GNUSTEP_USER_DIR_LIBRARY=.GNUstep/Library
GNUSTEP_USER_DIR_HEADERS=.GNUstep/Library/Headers
GNUSTEP_USER_DIR_LIBRARIES=.GNUstep/Library/Libraries
GNUSTEP_USER_DIR_DOC=.GNUstep/Library/Documentation
GNUSTEP_USER_DIR_DOC_MAN=.GNUstep/Library/Documentation/man
GNUSTEP_USER_DIR_DOC_INFO=.GNUstep/Library/Documentation/info
GNUSTEP_USER_CONFIG_FILE=.GNUstep.conf
GNUSTEP_USER_DEFAULTS_DIR=GNUstep/Defaults
GNUSTEP_USER_DEFAULTS_DIR=.GNUstep/Defaults