[Openvas-commits] r1236 - trunk/openvas-compendium

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Aug 28 22:00:15 CEST 2008


Author: jan
Date: 2008-08-28 22:00:15 +0200 (Thu, 28 Aug 2008)
New Revision: 1236

Modified:
   trunk/openvas-compendium/ChangeLog
   trunk/openvas-compendium/Makefile
   trunk/openvas-compendium/README
Log:
* Makefile: Improved target hyperhtml to create
a directory with all used images so that it is a
standalone html document.

* README: Add a note how to install the html
version of the compendium to the openvas.org website.



Modified: trunk/openvas-compendium/ChangeLog
===================================================================
--- trunk/openvas-compendium/ChangeLog	2008-08-28 14:05:30 UTC (rev 1235)
+++ trunk/openvas-compendium/ChangeLog	2008-08-28 20:00:15 UTC (rev 1236)
@@ -1,3 +1,12 @@
+2008-08-28  Jan-Oliver Wagner <jan-oliver.wagner at intevation.de>
+
+	* Makefile: Improved target hyperhtml to create
+	a directory with all used images so that it is a
+	standalone html document.
+
+	* README: Add a note how to install the html
+	version of the compendium to the openvas.org website.
+
 2008-08-28  Michael Wiegand <michael.wiegand at intevation.de>
 
 	* openvas-compendium.tex: Last-minute fix for 0.2.0 release to make

Modified: trunk/openvas-compendium/Makefile
===================================================================
--- trunk/openvas-compendium/Makefile	2008-08-28 14:05:30 UTC (rev 1235)
+++ trunk/openvas-compendium/Makefile	2008-08-28 20:00:15 UTC (rev 1236)
@@ -38,6 +38,13 @@
 
 hyperhtml:
 	$(HYPERLATEX) $(latexfile)
+	for f in `ls html/*.html` ; do sed -e "s/file:\/usr\/share\/hyperlatex\/icons\///g" -e "s/\.\.\/images/images/g" $$f > $$f.tmp ; mv $$f.tmp $$f ; done
+	cp /usr/share/hyperlatex/icons/previous.png html
+	cp /usr/share/hyperlatex/icons/next.png html
+	cp /usr/share/hyperlatex/icons/up.png html
+	cp /usr/share/hyperlatex/icons/blank.png html
+	mkdir -p html/images
+	cp images/*.png html/images
 
 ps: dvi
 	$(PS) $(latexfile).dvi

Modified: trunk/openvas-compendium/README
===================================================================
--- trunk/openvas-compendium/README	2008-08-28 14:05:30 UTC (rev 1235)
+++ trunk/openvas-compendium/README	2008-08-28 20:00:15 UTC (rev 1236)
@@ -15,3 +15,13 @@
 
 (this will create a directory html with
 many .html files and images.)
+
+
+OpenVAS developers can put the html version
+online to the openvas.org website.
+Best procedure for this is:
+
+$ make distclean
+$ make hyperhtml
+$ cd html
+$ rsync -urvP . USERNAME at wald.intevation.org:/openvas/htdocs/compendium



More information about the Openvas-commits mailing list