Revision: 1638
http://assorted.svn.sourceforge.net/assorted/?rev=1638&view=rev
Author: yangzhang
Date: 2010-04-28 19:54:03 +0000 (Wed, 28 Apr 2010)
Log Message:
-----------
fixed email munging code to handle new pandoc output format
Modified Paths:
--------------
personal-site/trunk/Makefile
Modified: personal-site/trunk/Makefile
===================================================================
--- personal-site/trunk/Makefile 2010-04-28 16:45:14 UTC (rev 1637)
+++ personal-site/trunk/Makefile 2010-04-28 19:54:03 UTC (rev 1638)
@@ -1,4 +1,3 @@
-MUNGEMAIL := sed 's/><body$$/><body onload="javascript:body_onload();"/'
PLAIN := out/plain.html
INDEX := out/index.html
REDIR := out-redir/index.html
@@ -20,9 +19,8 @@
ln -sf plain.html $(INDEX)
$(PLAIN): src/index.txt src/header.html out src/footer.html
- pandoc -s -S --tab-stop=2 -H src/header.html -A src/footer.html src/index.txt \
- -c plain.css | \
- $(MUNGEMAIL) > $(PLAIN)
+ pandoc -s -S --tab-stop=2 -H src/header.html -A src/footer.html src/index.txt -c plain.css | \
+ sed 's/<body>/<body onload="javascript:body_onload();">/' > $(PLAIN)
publish: all
scp -o CompressionLevel=9 -r out/* nr:/var/www/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|