r44174 - in /packages/mrmpi/trunk/debian: control rules

malat-guest at users.alioth.debian.org malat-guest at users.alioth.debian.org
Thu Dec 15 16:36:28 UTC 2011


Author: malat-guest
Date: Thu Dec 15 16:36:28 2011
New Revision: 44174

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44174
Log:
make oinkdoc too

Modified:
    packages/mrmpi/trunk/debian/control
    packages/mrmpi/trunk/debian/rules

Modified: packages/mrmpi/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/mrmpi/trunk/debian/control?rev=44174&op=diff
==============================================================================
--- packages/mrmpi/trunk/debian/control (original)
+++ packages/mrmpi/trunk/debian/control Thu Dec 15 16:36:28 2011
@@ -5,7 +5,7 @@
 DM-Upload-Allowed: yes
 Uploaders: Mathieu Malaterre <mathieu.malaterre at gmail.com>, Dominique Belhachemi <domibel at debian.org>
 Build-Depends: debhelper (>= 8), cmake (>= 2.6.3), mpi-default-dev
-Build-Depends-Indep: htmldoc
+Build-Depends-Indep: htmldoc, python
 Standards-Version: 3.9.2
 Homepage: http://www.cs.sandia.gov/~sjplimp/mapreduce.html
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-science/packages/mrmpi/trunk/
@@ -51,7 +51,8 @@
 
 Package: mrmpi-doc
 Architecture: all
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, doc-base
+Section: doc
 Description: Implements MapReduce operation on top of standard MPI message - doc
  The MapReduce-MPI (MR-MPI) library is open-source software that implements the
  MapReduce operation popularized by Google on top of standard MPI message
@@ -65,4 +66,4 @@
  together in scripts with commands that simplify data management tasks. OINK has
  its own manual and doc pages.
  .
- This package contains the documentation for MapReduce-MPI applications.
+ This package contains the documentation for MapReduce-MPI libraries.

Modified: packages/mrmpi/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/mrmpi/trunk/debian/rules?rev=44174&op=diff
==============================================================================
--- packages/mrmpi/trunk/debian/rules (original)
+++ packages/mrmpi/trunk/debian/rules Thu Dec 15 16:36:28 2011
@@ -35,6 +35,7 @@
 override_dh_auto_build-indep:
 	# Need a custom txt2html
 	g++ ./txt2html/txt2html.cpp -o mrmpi_txt2html
+	# 1. MapReduceMPI:
 	# Generate html file for PDF:
 	./mrmpi_txt2html -b doc/*.txt
 	# Generate PDF from HTML
@@ -45,6 +46,14 @@
 		Interface_oink.html Technical.html Examples.html)
 	# Generate clean HTML files:
 	./mrmpi_txt2html doc/*.txt
+	# 2. OINK:
+	(cd oinkdoc && python Manual.py)
+	./mrmpi_txt2html -b oinkdoc/*.txt
+	(cd oinkdoc && htmldoc --title --toctitle "Table of Contents" --tocfooter ..i --toclevels 4 \
+		--header ... --footer ..1 --size letter --linkstyle plain --linkcolor blue -f \
+		Manual.pdf Manual.html Section_build.html Section_script.html \
+		Section_functions.html Section_commands.html Section_errors.html [a-z]*.html)
+	./mrmpi_txt2html oinkdoc/*.txt
 
 # No tests needed for docs
 override_dh_auto_test-indep:




More information about the debian-science-commits mailing list