mirror of
https://github.com/dyne/FreeJ.git
synced 2026-06-16 12:59:33 +02:00
fix to webpage build
This commit is contained in:
+5
-7
@@ -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");
|
||||
|
||||
?>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user