added doc-base support
authorgregor herrmann <gregoa@debian.org>
Sun, 21 May 2006 13:34:19 +0000 (13:34 -0000)
committergregor herrmann <gregoa@debian.org>
Sun, 21 May 2006 13:34:19 +0000 (13:34 -0000)
debian/changelog
debian/fullquottel-devel [new file with mode: 0644]
debian/fullquottel-user [new file with mode: 0644]
debian/install
debian/postinst [new file with mode: 0644]
debian/prerm [new file with mode: 0644]

index 86b713dde66c8f32f184e858296a23b65b84f6a5..c05e8208f114455363c16dfcea1959ff2ea35ea1 100644 (file)
@@ -1,8 +1,9 @@
 fullquottel (0.1.1-6) unstable; urgency=low
 
   * Update to Standards-Version: 3.7.2 (no changes required).
+  * Register documentation with doc-base.
 
- -- gregor herrmann <gregor+debian@comodo.priv.at>  Sat,  6 May 2006 00:42:47 +0200
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Sun, 21 May 2006 14:56:03 +0200
 
 fullquottel (0.1.1-5) unstable; urgency=low
 
diff --git a/debian/fullquottel-devel b/debian/fullquottel-devel
new file mode 100644 (file)
index 0000000..8613eea
--- /dev/null
@@ -0,0 +1,10 @@
+Document: fullquottel-devel
+Title: Fullquottel Developer Manual
+Author: Gregor Herrmann
+Abstract: This manual describes fullquottel from a
+ developer's point of view.
+Section: Apps/Net
+
+Format: HTML
+Index: /usr/share/doc/fullquottel/doc_programmer/html/index.html
+Files: /usr/share/doc/fullquottel/doc_programmer/html/*.html
diff --git a/debian/fullquottel-user b/debian/fullquottel-user
new file mode 100644 (file)
index 0000000..81a5087
--- /dev/null
@@ -0,0 +1,9 @@
+Document: fullquottel-user
+Title: Fullquottel User Manual
+Author: Gregor Herrmann
+Abstract: This manual describes how fullquottel is used.
+Section: Apps/Net
+
+Format: HTML
+Index: /usr/share/doc/fullquottel/doc_user/html/index.html
+Files: /usr/share/doc/fullquottel/doc_user/html/*.html
index c1c55212394b5cb52ff8be704101c7c48a0571aa..f945496bc1a15557ff7e1fe04be0060a41ce6c05 100644 (file)
@@ -1 +1,3 @@
 examples/fullquottelrc etc/
+debian/fullquottel-user usr/share/doc-base
+debian/fullquottel-devel usr/share/doc-base
diff --git a/debian/postinst b/debian/postinst
new file mode 100644 (file)
index 0000000..4ca9524
--- /dev/null
@@ -0,0 +1,44 @@
+#! /bin/sh
+# postinst script for fullquottel
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+case "$1" in
+    configure)
+      if which install-docs >/dev/null 2>&1; then
+        install-docs -i /usr/share/doc-base/fullquottel-user
+        install-docs -i /usr/share/doc-base/fullquottel-devel
+      fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+      echo "postinst called with unknown argument \`$1'" >&2
+      exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/prerm b/debian/prerm
new file mode 100644 (file)
index 0000000..fd69e0c
--- /dev/null
@@ -0,0 +1,44 @@
+#! /bin/sh
+# prerm script for fullquottel
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+      if which install-docs >/dev/null 2>&1; then
+        install-docs -r fullquottel-user
+        install-docs -r fullquottel-devel
+      fi
+    ;;
+
+    failed-upgrade)
+    ;;
+    
+    *)
+      echo "prerm called with unknown argument \`$1'" >&2
+      exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+