initial harness for documentation
authorBdale Garbee <bdale@gag.com>
Wed, 31 Mar 2010 05:11:40 +0000 (23:11 -0600)
committerBdale Garbee <bdale@gag.com>
Wed, 31 Mar 2010 05:11:40 +0000 (23:11 -0600)
.gitignore
debian/control
debian/docs
debian/rules
doc/Makefile [new file with mode: 0644]
doc/telemetrum.xsl [new file with mode: 0644]

index eafee20..16ff1f7 100644 (file)
@@ -49,3 +49,6 @@ Makefile.in
 missing
 stamp-h1
 tags
+doc/telemetrum.fo
+doc/telemetrum.html
+doc/telemetrum.pdf
index 7d21e60..2ba1722 100644 (file)
@@ -3,8 +3,8 @@ Section: otherosfs
 Priority: extra
 Maintainer: Bdale Garbee <bdale@gag.com>
 Uploaders: Keith Packard <keithp@keithp.com>
-Build-Depends: debhelper (>= 7), autoconf, automake, flite1-dev, gawk, libasound2-dev, libgconf2-dev, libglade2-dev, libgtk2.0-dev, libreadline-dev, libusb-1.0-0-dev, nickle, sdcc, libplplot-dev
-Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 7), autoconf, automake, flite1-dev, gawk, libasound2-dev, libgconf2-dev, libglade2-dev, libgtk2.0-dev, libreadline-dev, libusb-1.0-0-dev, nickle, sdcc, libplplot-dev, xsltproc, fop, docbook.xsl
+Standards-Version: 3.8.4
 Homepage: http://altusmetrum.org/AltOS
 
 Package: altos
index 50bd824..d5af59c 100644 (file)
@@ -1,2 +1,4 @@
 NEWS
 README
+doc/telemetrum.html
+doc/telemetrum.pdf
index 780011b..a7468b9 100755 (executable)
@@ -26,6 +26,7 @@ build: build-stamp
 build-stamp: configure-stamp  
        dh_testdir
        $(MAKE) VERSION=$(PKG_VERSION)
+       (cd doc ; $(MAKE))
        touch $@
 
 clean: 
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644 (file)
index 0000000..d329390
--- /dev/null
@@ -0,0 +1,25 @@
+#
+#      http://docbook.sourceforge.net/release/xsl/current/README
+#
+
+all:   telemetrum.html telemetrum.pdf
+
+telemetrum.html:       telemetrum.xsl
+       xsltproc -o telemetrum.html \
+               /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl \
+               telemetrum.xsl
+
+telemetrum.fo: telemetrum.xsl
+       xsltproc -o telemetrum.fo \
+               /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl \
+               telemetrum.xsl
+
+telemetrum.pdf:        telemetrum.fo
+       fop -fo telemetrum.fo -pdf telemetrum.pdf
+
+clean:
+       rm -f telemetrum.html telemetrum.pdf telemetrum.fo
+
+indent:                telemetrum.xsl
+       xmlindent -i 2 < telemetrum.xsl > telemetrum.new
+
diff --git a/doc/telemetrum.xsl b/doc/telemetrum.xsl
new file mode 100644 (file)
index 0000000..7d85531
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "/usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd">
+<book>
+  <bookinfo>
+    <author>
+      <firstname>Bdale</firstname>
+      <surname>Garbee</surname>
+    </author>
+    <author>
+      <firstname>Keith</firstname>
+      <surname>Packard</surname>
+    </author>
+    <copyright>
+      <year>2010</year>
+      <holder>Bdale Garbee</holder>
+    </copyright>
+    <title>TeleMetrum</title>
+    <subtitle>Owner's Manual for the TeleMetrum System</subtitle>
+    <legalnotice>
+      <para>
+        This document is released under the terms of the 
+        <ulink url="http://creativecommons.org/licenses/by-sa/3.0/">
+          Creative Commons ShareAlike 3.0
+        </ulink>
+        license.
+      </para>
+    </legalnotice>
+    <revhistory>
+      <revision>
+        <revnumber>0.1</revnumber>
+        <date>30 March 2010</date>
+        <revremark>Initial content</revremark>
+      </revision>
+    </revhistory>
+  </bookinfo>
+  <chapter>
+    <title>Introduction</title>
+    <para>
+      Placeholder.
+    </para>
+  </chapter>
+</book>
+