Small update for new directory

This commit is contained in:
Michiel Broek 2004-04-03 19:02:43 +00:00
parent 2bd0f01dd9
commit 8e5bf1000d
2 changed files with 7 additions and 3 deletions

View File

@ -212,6 +212,10 @@ install:
echo "removed ${BINDIR}/mbtelnetd"; \ echo "removed ${BINDIR}/mbtelnetd"; \
fi fi
@for d in ${SUBDIRS}; do (cd $$d && ${MAKE} -w $@) || exit; done @for d in ${SUBDIRS}; do (cd $$d && ${MAKE} -w $@) || exit; done
@if [ -d ${PREFIX}/doc ] ; then \
echo; echo "If there is nothing important in ${PREFIX}/doc" ; \
echo "you may remove that obsolete directory." ; \
fi
dist tar: ${TARFILE} dist tar: ${TARFILE}

View File

@ -215,10 +215,10 @@ void site_docs(void)
set_color(WHITE, BLACK); set_color(WHITE, BLACK);
mvprintw( 5, 6, "21. CREATING SITEDOCS"); mvprintw( 5, 6, "21. CREATING SITEDOCS");
set_color(CYAN, BLACK); set_color(CYAN, BLACK);
mvprintw( 7,11, (char *)"Erasing directory %s/doc/html", getenv("MBSE_ROOT")); mvprintw( 7,11, (char *)"Erasing directory %s/share/doc/html", getenv("MBSE_ROOT"));
fflush(stdout); fflush(stdout);
sprintf(temp, "-r -f %s/doc/html", getenv("MBSE_ROOT")); sprintf(temp, "-r -f %s/share/doc/html", getenv("MBSE_ROOT"));
execute_pth((char *)"rm", temp, (char *)"/dev/null", (char *)"/dev/null", (char *)"/dev/null"); execute_pth((char *)"rm", temp, (char *)"/dev/null", (char *)"/dev/null", (char *)"/dev/null");
if ((hp = open_webdoc((char *)"index.html", (char *)"BBS Site Documentation", NULL))) { if ((hp = open_webdoc((char *)"index.html", (char *)"BBS Site Documentation", NULL))) {
@ -297,7 +297,7 @@ void site_docs(void)
dotter(); dotter();
ol_doc(); ol_doc();
clrtoeol(); clrtoeol();
mvprintw( 8,11, (char *)"Created site documents in %s/doc", getenv("MBSE_ROOT")); mvprintw( 8,11, (char *)"Created site documents in %s/share/doc", getenv("MBSE_ROOT"));
fflush(stdout); fflush(stdout);
/* /*