Update of /cvsroot/hoc/hoc/docs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3612
Modified Files:
Makefile.in
Added Files:
documentation-footer.template documentation-header.template
Log Message:
Building documentation.html now has SSI directives to include header and footer
like the rest of the webpages
Index: Makefile.in
===================================================================
RCS file: /cvsroot/hoc/hoc/docs/Makefile.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Makefile.in 19 May 2004 07:32:08 -0000 1.6
+++ Makefile.in 19 May 2004 07:45:27 -0000 1.7
@@ -1,5 +1,8 @@
include ../config.mk
+# require bash for building documentation.html
+SHELL = /bin/bash
+
dist_srcdir = docs
dist_FILES = \
$(SOURCE_PODS) \
@@ -44,7 +47,11 @@
# (suitable for inclusion into a SSI'ed webpage)
documentation.html: HOC.html
- sed -e '1,/^<body.*>$$/d' -e '/^<\/body>.*$$/,$$d' < $+ > $@
+ cat \
+ documentation-header.template \
+ <(sed -e '1,/^<body.*>$$/d' -e '/^<\/body>.*$$/,$$d' < $+) \
+ documentation-footer.template \
+ > $@
view: HOC.html
open $+
--- NEW FILE: documentation-header.template ---
<!--#set var="title" value="Documentation" -->
<!--#set var="active-tab" value="Documentation" -->
<!--#set var="override_css" value="hoc-documentation.css" -->
<!--#include virtual="/templates.hoc/header.shtml" -->
--- NEW FILE: documentation-footer.template ---
<!--#include virtual="/templates.hoc/footer.shtml" -->
|