[Pkg-asciidoc-commits] r107 - trunk/debian

Alexander Wirt formorer at alioth.debian.org
Sat Jul 30 13:21:57 UTC 2011


Author: formorer
Date: 2011-07-30 13:21:57 +0000 (Sat, 30 Jul 2011)
New Revision: 107

Modified:
   trunk/debian/changelog
   trunk/debian/rules
Log:
generate userguide


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2011-07-30 09:48:28 UTC (rev 106)
+++ trunk/debian/changelog	2011-07-30 13:21:57 UTC (rev 107)
@@ -3,7 +3,10 @@
   * New upstream version
   * Bump standards version (no changes)
   * Depend on python-support
-  * Install vim filetype to ftdetect directory 
+  * generate html version of userguide to
+    /usr/share/doc/asciidoc/userguide.html
+    (Closes: #628795)
+  * Install vim filetype to ftdetect directory
     (Closes: #626495)
   * Bump debhelper compatibility level to 7.
     This installs the upstream changelog

Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules	2011-07-30 09:48:28 UTC (rev 106)
+++ trunk/debian/rules	2011-07-30 13:21:57 UTC (rev 107)
@@ -35,6 +35,8 @@
 	install -m0755 tests/testasciidoc.py debian/asciidoc/usr/bin/testasciidoc
 	cp -aL examples/website/ debian/asciidoc/usr/share/doc/asciidoc/examples/
 	cp -aL doc/ debian/asciidoc/usr/share/doc/asciidoc/
+	./asciidoc.py  -b xhtml11 -o debian/asciidoc/usr/share/doc/asciidoc/userguide.html doc/asciidoc.txt
+	sed -i -e 's#./images/#/usr/share/asciidoc/images/#g' debian/asciidoc/usr/share/doc/asciidoc/userguide.html
 
 override_dh_link:
 	rm -rf debian/asciidoc/etc/asciidoc/javascripts




More information about the Pkg-asciidoc-commits mailing list