fix to webpage build

This commit is contained in:
Jaromil
2010-03-13 09:48:02 +01:00
parent 3df1256aaa
commit fa3e41bd9c
4 changed files with 39 additions and 7 deletions
+5 -7
View File
@@ -49,17 +49,15 @@ $smarty->assign("page_class", "software org-mode");
$smarty->assign("page_hgroup", "<h1>FreeJ</h1>");
$smarty->assign("page_title", "free vision mixer");
$smarty->display("header.tpl");
$smarty->display("_header.tpl");
// floating sidebar
echo("\n<div id=\"menu\">\n");
showfile("toc.html");
// sidebar
$smarty->display("software/doctypes.tpl");
echo("\n</div>");
showfile("index-toc.html");
// page content
showfile("./body.html");
showfile("index-body.html");
$smarty->display("footer.tpl");
$smarty->display("_footer.tpl");
?>
+34
View File
@@ -0,0 +1,34 @@
EMACS = emacs
INDEX = index.org
ifndef $(SCRIPTS)
SCRIPTS = .
endif
all: ascii html pdf apache.conf
apache.conf:
./generate.sh
index.html: index.org
$(EMACS) -q -batch -l $(SCRIPTS)/batch.el \
--visit $(INDEX) -f org-export-as-html
index.txt: index.org
$(EMACS) -q -batch -l $(SCRIPTS)/batch.el \
--visit $(INDEX) -f org-export-as-ascii
index.pdf: index.org
$(EMACS) -q -batch -l $(SCRIPTS)/batch.el \
--visit $(INDEX) -f org-export-as-pdf
ascii: index.txt
html: index.html
$(SCRIPTS)/collate.sh
pdf: index.pdf
clean:
rm -rf *~ *.pdf *.tex *.html *.xml *.txt apache.conf templates_c cache