Revision: 433
http://assorted.svn.sourceforge.net/assorted/?rev=433&view=rev
Author: yangzhang
Date: 2008-02-14 18:32:44 -0800 (Thu, 14 Feb 2008)
Log Message:
-----------
using common google footer
Modified Paths:
--------------
scala-commons/trunk/src/Makefile
Modified: scala-commons/trunk/src/Makefile
===================================================================
--- scala-commons/trunk/src/Makefile 2008-02-15 02:32:32 UTC (rev 432)
+++ scala-commons/trunk/src/Makefile 2008-02-15 02:32:44 UTC (rev 433)
@@ -4,6 +4,7 @@
JAR := $(OUTDIR)/scala-commons.jar
SCALAC := fsc
SRCS := $(wildcard commons/*.scala)
+HTMLFRAG := ../../../assorted-site/trunk
all: jar
@@ -18,14 +19,13 @@
$(WEBDIR)/index.html: ../README
mkdir -p $(WEBDIR)
- # pandoc -s -S --tab-stop=2 -c main.css -H header.html -A footer.html -o $(WEBDIR)/index.html ../README
- pandoc -s -S --tab-stop=2 -c ../main.css -o $(WEBDIR)/index.html ../README
+ pandoc -s -S --tab-stop=2 -c ../main.css -H $(HTMLFRAG)/header.html -A $(HTMLFRAG)/google-footer.html -o $(WEBDIR)/index.html ../README
doc: $(DOCDIR)/index.html
$(DOCDIR)/index.html: $(SRCS)
mkdir -p $(DOCDIR)
- scaladoc -d $(DOCDIR) -linksource $^
+ scaladoc -d $(DOCDIR) -linksource -header $(HTMLFRAG)/header.html -bottom $(HTMLFRAG)/google-footer.html $^
publish: doc jar web
cp -r $(JAR) $(DOCDIR) $(WEBDIR)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|