Name OS X CMDLINE.game files as CMDLINE-game, so that they are not
considered as invalid file extensions. Subversion-branch: /branches/v2-branch Subversion-revision: 2656
This commit is contained in:
parent
d0874f3178
commit
e4e5387b31
2 changed files with 5 additions and 4 deletions
|
|
@ -99,9 +99,10 @@ $(STAGING_DIR): launcher $(TOPLEVEL_DOCS)
|
|||
mkdir -p "$(APP_BIN_DIR)/man/man5" "$(APP_BIN_DIR)/man/man6"
|
||||
cp $(TOPLEVEL)/man/*.5 "$(APP_BIN_DIR)/man/man5"
|
||||
cp $(TOPLEVEL)/man/*.6 "$(APP_BIN_DIR)/man/man6"
|
||||
cp $(TOPLEVEL)/man/CMDLINE.doom $(TOPLEVEL)/man/CMDLINE.heretic \
|
||||
$(TOPLEVEL)/man/CMDLINE.hexen $(TOPLEVEL)/man/CMDLINE.strife \
|
||||
"$(APP_DOC_DIR)"
|
||||
for game in doom heretic hexen strife; do \
|
||||
cp $(TOPLEVEL)/man/CMDLINE.$$game \
|
||||
"$(APP_DOC_DIR)/CMDLINE-$$game"; \
|
||||
done
|
||||
cp disk/dir.DS_Store $(STAGING_DIR)/.DS_Store
|
||||
cp disk/background.png $(STAGING_DIR)/background.png
|
||||
|
||||
|
|
|
|||
|
|
@ -362,7 +362,7 @@ static NSString *AppendQuotedFilename(NSString *str, NSString *fileName)
|
|||
// selected game.
|
||||
|
||||
game_name = [self->iwadController getGameName];
|
||||
sprintf(filename, "CMDLINE.%s", game_name);
|
||||
sprintf(filename, "CMDLINE-%s", game_name);
|
||||
|
||||
OpenDocumentation(filename);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue