[Genabel-commits] r1164 - tutorials/GenABEL_general

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Mar 19 21:15:05 CET 2013


Author: yurii
Date: 2013-03-19 21:15:05 +0100 (Tue, 19 Mar 2013)
New Revision: 1164

Modified:
   tutorials/GenABEL_general/Makefile
Log:
adding 'make html' option

Modified: tutorials/GenABEL_general/Makefile
===================================================================
--- tutorials/GenABEL_general/Makefile	2013-03-19 19:42:37 UTC (rev 1163)
+++ tutorials/GenABEL_general/Makefile	2013-03-19 20:15:05 UTC (rev 1164)
@@ -1,15 +1,3 @@
-#
-# I have figured out how we can also generate HTML 
-# after tex is ready, this is done with
-# mk4ht htlatex GenABEL-tutorial.tex myxhtml
-# (note myxhtml.cfg!)
-# but I am not good in Makefiles - can someone take care?
-# Also, this html generation produces a LOT of things
-# but it looks like all are *html and *png - so this may 
-# help sort the HTML version out
-#
-# Yurii
-#
 .SUFFIXES: .tex .pdf .Rnw .R
 
 MAIN = GenABEL-tutorial
@@ -35,6 +23,12 @@
 	pdflatex $<
 	pdflatex $<
 
+html: all
+	mk4ht htlatex GenABEL-tutorial.tex myxhtml
+	mkdir GenABEL_tutorial_html
+	mv *.html GenABEL_tutorial_html/.
+	mv *.png GenABEL_tutorial_html/.
+
 distrib: all
 	rm -fv GenABEL_tutorial_distrib.tar*
 	mkdir GenABEL_tutorial_distrib;
@@ -53,6 +47,6 @@
 	rm -fv *idx *ilg *ind *pdf verbinp
 	rm -fv *.4?? *.css *.idv *.lg *.tmp *.xref
 	rm -fv *png *html figures/*.png
-	rm -rf html
+	rm -rf GenABEL_tutorial_html
 	rm -rf RData
 	rm -fv *.tar.gz



More information about the Genabel-commits mailing list