first cut at src2html and RTEMS

This commit is contained in:
Joel Sherrill
1998-04-14 17:35:30 +00:00
parent 56cab83f90
commit 3a781ac70c
2 changed files with 96 additions and 0 deletions

34
doc/src2html/Makefile Normal file
View File

@@ -0,0 +1,34 @@
#
# COPYRIGHT (c) 1988-1998.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
PROJECT=src
DISTRIBUTION_LEVEL=internal
include ../Make.config
all: html info ps
dirs:
$(make-dirs)
COMMON_FILES=../common/cpright.texi
FILES= clock.texi cond.texi key.texi mutex.texi $(PROJECT).texi preface.texi \
sched.texi signal.texi thread.texi $(COMMON_FILES)
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
info:
ps:
html: dirs
-mkdir -p $(WWW_INSTALL)/$(PROJECT)
$(SRC2HTML) -d3 RTEMS.test
clean:

62
doc/src2html/RTEMS.test Normal file
View File

@@ -0,0 +1,62 @@
# Comments
#
# Copyright (c) 1998, On-Line Applications Research Corporation (OAR)
#
# This file configures the src2html tool for the RTEMS source tree.
#
# $Id$
#
## Variables used are:
## Srctree - The root of the source tree we are processing
## Htmlroot - The directory where all WWW documents are kept
## Htmldir - The directory under Htmlroot for this source tree
## Htmltree - The root of the destination tree for the Html code
## Newsrctree - The directory in Htmltree to store the new Htmlised code
## Headers - The directory where we keep information to prepend in some docs
## Formdir - The place to put the index searching script
## Dirinfo{} - The list of dirs and the info about the directory
## Dotdir{} - The directory name with /'s -> .'s
set Srctree /usr1/rtems/rtems-work/c/src/exec/
#set Htmltree /tmp/www
set Htmlroot /usr1/tmp/rtemsdoc-4.0.0-beta3/html/src
set Htmldir .
set Newsrctree . # Comments here too
# default is . and that is fine for us right now
#set Headers
set Formdir /cgi-bin/rtems
#
#
dir rtems/src Classic API Source
dir rtems/inline Classic API Inlines
dir rtems/headers Classic API Header Files
dir posix/src POSIX API Source
dir posix/inline POSIX API Inlines
dir posix/headers POSIX API Base Header Files
dir posix/sys POSIX API System Header Files
dir posix/headers POSIX API Internal Header Files
dir sapi/src Non-Standard API Source
dir sapi/inline Non-Standard API Inlines
dir sapi/headers Non-Standard API Header Files
dir score/src Super Core Source
dir score/inline Super Core Inlines
dir score/headers Super Core Header Files
dir score/cpu/a29k AMD A29K Port
dir score/cpu/hppa1.1 HP PA-RISC Port
dir score/cpu/i386 Intel i386 Port
dir score/cpu/i960 Intel i960 Port
dir score/cpu/m68k Motorola m68k Port
dir score/cpu/mips64orion MIPS64 Port
dir score/cpu/no_cpu No CPU Example Port
dir score/cpu/powerpc PowerPC Port
dir score/cpu/sh Hitachi SH
dir score/cpu/sparc SPARC Port
dir score/cpu/unix UNIX Port