diff options
Diffstat (limited to 'pkg/osx')
-rw-r--r-- | pkg/osx/Execute.m | 2 | ||||
-rw-r--r-- | pkg/osx/GNUmakefile | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/pkg/osx/Execute.m b/pkg/osx/Execute.m index 608443e2..25f5e67d 100644 --- a/pkg/osx/Execute.m +++ b/pkg/osx/Execute.m @@ -175,6 +175,8 @@ void OpenTerminalWindow(const char *doomwadpath) fprintf(stream, "#!/bin/sh\n"); //fprintf(stream, "set -x\n"); fprintf(stream, "PATH=\"%s:$PATH\"\n", executable_path); + fprintf(stream, "MANPATH=\"%s/man:$(manpath)\"\n", executable_path); + fprintf(stream, "export MANPATH\n"); fprintf(stream, "DOOMWADPATH=\"%s\"\n", doomwadpath); fprintf(stream, "export DOOMWADPATH\n"); fprintf(stream, "rm -f \"%s\"\n", TEMP_SCRIPT); diff --git a/pkg/osx/GNUmakefile b/pkg/osx/GNUmakefile index f6fa24ff..f9bb6417 100644 --- a/pkg/osx/GNUmakefile +++ b/pkg/osx/GNUmakefile @@ -73,6 +73,10 @@ $(STAGING_DIR): launcher $(TOPLEVEL_DOCS) find $(STAGING_DIR) -name .svn -delete -exec rm -rf {} \; || true + 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" + clean : launcher_clean rm -f $(DMG) rm -rf $(STAGING_DIR) |