#
# Makefile for building Postscript and HTML version of Calendar Tool documents
#
#
# The mkdocs-full command runs troff and the troff-to-html converter to produce
# PostScript and HTML, respectively. The -full version of mkdocs, as compared
# to the normal version, makes tables of contents and other stuff. See the
# commands themselves in the bin dir for further information on exactly what
# they do.
#
MKDOCS = /home/faculty/gfisher/bin/mkdocs-full
default: index
index:
@ csh -c .make-pre-links.csh
@ csh -c "$(MKDOCS) index.me -rT1"
@ csh -c .make-post-links.csh
requirements-spec:
@ csh -c .make-pre-links.csh
@ csh -c "$(MKDOCS) requirements-spec.me -rT1"
@ csh -c .make-post-links.csh
requirements-spec-whole:
@ csh -c .make-pre-links.csh
@ csh -c "$(MKDOCS) requirements-spec.me -rT1 -rW1"
@ csh -c .make-post-links.csh
rs.ps:
srgpt /requirements-spec.me -rT1
gen-links:
@ emacs -batch index.me \
-l ~gfisher/emacs/lib/gen-html-hyper-links.el \
-f gen-html-hyper-links
gen-links-rs:
@ emacs -batch requirements-spec.me \
-l ~gfisher/emacs/lib/gen-html-hyper-links.el \
-f gen-html-hyper-links
clean:
rm -f *.ps *.html*