Files
rtems/doc/networking/Makefile.am
Joel Sherrill 2ba8875a0b Patch rtemsdoc-4.5.0-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which contains the bulk of converting the documentation tree to automake
and GNU conventions.  Comments follow:

This is the automake port of rtemsdoc.

To apply:

cvs co rtemsdoc
cd rtemsdoc
sh cvs-rm.sh
patch -p0 < rtemsdoc-4.5.0-rc-0.diff
sh cvs-add.sh

[Attention: cvs-rm.sh and cvs-add.sh directly modify cvs]

Known bugs:
1) src2html is not supported (yet? - Is this supposed to work?)
2) all *.pdf images now are generated on-the-fly, but not yet deleted
during "make distclean"
3) All supplements, including the templated ones, get build and
installed.
4) Building outside of the source tree is completely untested and very
likely does not work.
5) Make [ps|pdf] are not (yet) supported, make [dvi|info] are supported
by automake's default texinfo rules.

Fixing 2, 3 and 5 is almost trivial and needs to be done.
4) is a matter of testing and tool-properties, for now it is simply
untested.



General issues:
* gif vs jpg vs png. I would recommend to replace all images with pngs
  to avoid potential copyright issues (gif) or lack in quality (jpg, jpg
  is good for real world photographs, but extremely poor on artificial
  images, graphs).
* pdf images do net get placed correctly in pdf-documents.
* texinfo: We now use a local copy of texinfo-4.0's texinfo.tex in
  texinfo/texinfo.tex for generating infos. However pdftex's system-wide
  texinfo.tex and pdftexinfo.tex are used for generating *.dvi, *.ps, *.pdf.
* .cvsignore files still missing.
* I have renamed the supplements filename not to use c_<supplement>,
  because automake seems to have problems with it.

Notes:
* Again, I recommend not to put any generated files into CVS. Here, this
  comprises some *texi, all *.pdf and many *.html pages. Ie. I recommend
  to run make maintainer-clean before checking in any files.

* To get building started, this should be sufficient:
  ./bootstrap
  ./configure
  cd tools; make; cd ..
  make info

* To make a public tarball:
  [cvs co ; ./bootstrap]
  ./configure
  cd tools; make; cd ..
  make info
  [make clean]
  make dist
=> This generates a rtems-<version>.tar.gz in the toplevel directory.
=> Building the tools only is required after a "cvs co", but not in a
   distribution tarball.
2000-04-26 18:02:26 +00:00

72 lines
1.6 KiB
Makefile

#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
AUTOMAKE_OPTIONS = foreign
PROJECT=networking
include $(top_srcdir)/project.am
# FIXME: Why -c ?
BMENU+= -c
COMMON_FILES=$(top_srcdir)/common/cpright.texi $(top_builddir)/common/setup.texi
GENERATED_FILES=networkapp.texi driver.texi networktasks.texi testing.texi \
servers.texi decdriver.texi
FILES= networktasks.texi preface.texi
info_TEXINFOS = networking.texi
networking_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
$(PROJECT).dvi: networkflow.eps PCIreg.eps recvbd.eps
$(PROJECT).pdf: networkflow.pdf PCIreg.pdf recvbd.pdf
if USE_HTML
html_project_DATA += networkflow.jpg networkflow.png PCIreg.jpg recvbd.jpg
endif
networktasks.texi: networktasks.t
$(BMENU) -p "Preface" \
-u "Top" \
-n "Networking Driver" $<
driver.texi: driver.t
$(BMENU) -p "Network Task Structure and Data Flow" \
-u "Top" \
-n "Using Networking in an RTEMS Application" $<
networkapp.texi: networkapp.t
$(BMENU) -p "Write the Driver Statistic-Printing Function" \
-u "Top" \
-n "Testing the Driver" $<
testing.texi: testing.t
$(BMENU) -p "Time Synchronization Using NTP" \
-u "Top" \
-n "Network Servers" $<
servers.texi: servers.t
$(BMENU) -p "Throughput" \
-u "Top" \
-n "DEC 21140 Driver" $<
decdriver.texi: decdriver.t
$(BMENU) -p "Using Hooks" \
-u "Top" \
-n "Command and Variable Index" $<
PICTURE_FILES = \
PCIreg.eps PCIreg.jpg \
networkflow.eps networkflow.jpg networkflow.png \
recvbd.eps recvbd.jpg
EXTRA_DIST = *.t $(PICTURE_FILES)