From 5bc981d0f95a8fdb281e699eb884217e56ec9226 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 17:00:56 +0000 Subject: Use doc-base now. Author: doogie Date: 2003-02-12 14:31:41 GMT Use doc-base now. --- debian/apt-doc.dhelp | 21 ----------- debian/apt-doc.doc-base.guide | 13 +++++++ debian/apt-doc.doc-base.offline | 13 +++++++ debian/changelog | 1 + debian/libapt-pkg-doc.dhelp | 61 -------------------------------- debian/libapt-pkg-doc.doc-base.cache | 18 ++++++++++ debian/libapt-pkg-doc.doc-base.design | 14 ++++++++ debian/libapt-pkg-doc.doc-base.dpkg-tech | 13 +++++++ debian/libapt-pkg-doc.doc-base.files | 14 ++++++++ debian/libapt-pkg-doc.doc-base.method | 14 ++++++++ debian/libapt-pkg-doc.postinst | 11 ------ debian/libapt-pkg-doc.prerm | 13 ------- debian/rules | 11 +----- 13 files changed, 101 insertions(+), 116 deletions(-) delete mode 100644 debian/apt-doc.dhelp create mode 100644 debian/apt-doc.doc-base.guide create mode 100644 debian/apt-doc.doc-base.offline delete mode 100644 debian/libapt-pkg-doc.dhelp create mode 100644 debian/libapt-pkg-doc.doc-base.cache create mode 100644 debian/libapt-pkg-doc.doc-base.design create mode 100644 debian/libapt-pkg-doc.doc-base.dpkg-tech create mode 100644 debian/libapt-pkg-doc.doc-base.files create mode 100644 debian/libapt-pkg-doc.doc-base.method delete mode 100755 debian/libapt-pkg-doc.postinst delete mode 100755 debian/libapt-pkg-doc.prerm diff --git a/debian/apt-doc.dhelp b/debian/apt-doc.dhelp deleted file mode 100644 index 091c49956..000000000 --- a/debian/apt-doc.dhelp +++ /dev/null @@ -1,21 +0,0 @@ - -debian -Debian Utilities -APT User's Guide -guide.html/index.html - -The APT User's Guide provides an overview of how to use the the APT package -manager, and provides a detailed look at the apt-get tool. - - - - -debian -Debian Utilities -APT Offline Usage Guide -offline.html/index.html - -The APT Offline Usage Guide provides detailed instructions and examples -of how to use APT on an unconnected computer. - - diff --git a/debian/apt-doc.doc-base.guide b/debian/apt-doc.doc-base.guide new file mode 100644 index 000000000..bce689a51 --- /dev/null +++ b/debian/apt-doc.doc-base.guide @@ -0,0 +1,13 @@ +Document: apt-user-guide +Title: APT User's Guide +Author: Jason Gunthorpe +Abstract: The APT User's Guide provides an overview of how to use the the + APT package manager, and provides a detailed look at the apt-get tool. +Section: Debian + +Format: html +Index: /usr/share/doc/apt-doc/guide.html/index.html +Files: /usr/share/doc/apt-doc/guide.html/*.html + +Format: text +Files: /usr/share/doc/apt-doc/guide.text.gz diff --git a/debian/apt-doc.doc-base.offline b/debian/apt-doc.doc-base.offline new file mode 100644 index 000000000..f67ec739a --- /dev/null +++ b/debian/apt-doc.doc-base.offline @@ -0,0 +1,13 @@ +Document: apt-offline-usage-guide +Title: APT Offline Usage Guide +Author: Jason Gunthorpe +Abstract: The APT Offline Usage Guide provides detailed instructions and + examples of how to use APT on an unconnected computer. +Section: Debian + +Format: html +Index: /usr/share/doc/apt-doc/offline.html/index.html +Files: /usr/share/doc/apt-doc/offline.html/*.html + +Format: text +Files: /usr/share/doc/apt-doc/offline.text.gz diff --git a/debian/changelog b/debian/changelog index c72c5c3c2..9492565eb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -92,6 +92,7 @@ apt (0.5.4.9) unstable; urgency=low * Split offline and guide documentation into apt-doc. This was done so that binary-arch builds do not require documention deps. Note, that apt-doc is not installed on upgrades. + * Use doc-base, instead of dhelp directly. Closes: #110389 -- Adam Heath Sun, 02 Feb 2003 02:54:45 -0600 diff --git a/debian/libapt-pkg-doc.dhelp b/debian/libapt-pkg-doc.dhelp deleted file mode 100644 index 1ac9d25f7..000000000 --- a/debian/libapt-pkg-doc.dhelp +++ /dev/null @@ -1,61 +0,0 @@ - -devel -Development Tools -APT Cache Specification -cache.html/index.html - -The APT Cache Specification describes the complete implementation and -format of the APT Cache file. The APT Cache file is a way for APT to parse -and store a large number of package files for display in the UI. It's primary -design goal is to make display of a single package in the tree very -fast by pre-linking important things like dependencies and provides. -The specification doubles as documentation for one of the in-memory -structures used by the package library and the APT GUI. - - - - -devel -Development Tools -APT Design Document -design.html/index.html - -The APT Design Document is an overview of the specifications and design goals -of the APT project. It also attempts to give a broad descriptiontion of the -implementation as well. - - - - -devel -Development Tools -DPkg Technical Manual -dpkg-tech.html/index.html - -The DPkg Technical Manual gives an overview of dpkg's external functions -and describes how it views the world. - - - - -devel -Development Tools -APT Files -files.html/index.html - -The APT Files document describes the complete implementation and format of -the installed APT directory structure. It also serves as guide to how -APT views the Debian archive. - - - - -devel -Development Tools -APT Method Interface -method.html/index.html - -The APT Method Interface document describes the interface that APT uses to -the archive access methods. - - diff --git a/debian/libapt-pkg-doc.doc-base.cache b/debian/libapt-pkg-doc.doc-base.cache new file mode 100644 index 000000000..b58b79bd1 --- /dev/null +++ b/debian/libapt-pkg-doc.doc-base.cache @@ -0,0 +1,18 @@ +Document: libapt-pkg-doc-cache +Title: APT Cache Specification +Author: Jason Gunthorpe +Abstract: The APT Cache Specification describes the complete implementation + and format of the APT Cache file. The APT Cache file is a way for APT to + parse and store a large number of package files for display in the UI. + It's primaryć design goal is to make display of a single package in the + tree very fast by pre-linking important things like dependencies and + provides. The specification doubles as documentation for one of the + in-memory structures used by the package library and the APT GUI. +Section: Devel + +Format: html +Index: /usr/share/doc/libapt-pkg-doc/cache.html/index.html +Files: /usr/share/doc/libapt-pkg-doc/cache.html/*.html + +Format: text +Files: /usr/share/doc/libapt-pkg-doc/cache.text.gz diff --git a/debian/libapt-pkg-doc.doc-base.design b/debian/libapt-pkg-doc.doc-base.design new file mode 100644 index 000000000..ce5e0cecb --- /dev/null +++ b/debian/libapt-pkg-doc.doc-base.design @@ -0,0 +1,14 @@ +Document: libapt-pkg-doc-design +Title: APT Design Document +Author: Jason Gunthorpe +Abstract: The APT Design Document is an overview of the specifications and + design goals of the APT project. It also attempts to give a broad + description of the implementation as well. +Section: Debian + +Format: html +Index: /usr/share/doc/libapt-pkg-doc/design.html/index.html +Files: /usr/share/doc/libapt-pkg-doc/design.html/*.html + +Format: text +Files: /usr/share/doc/libapt-pkg-doc/design.text.gz diff --git a/debian/libapt-pkg-doc.doc-base.dpkg-tech b/debian/libapt-pkg-doc.doc-base.dpkg-tech new file mode 100644 index 000000000..3afc262e9 --- /dev/null +++ b/debian/libapt-pkg-doc.doc-base.dpkg-tech @@ -0,0 +1,13 @@ +Document: libapt-pkg-doc-dpkg-tech +Title: APT's interpetation of DPkg Technical Specification +Author: Jason Gunthorpe +Abstract: The DPkg Technical Manual gives an overview of dpkg's external + functions(as APT sees them) and describes how it views the world. +Section: Devel + +Format: html +Index: /usr/share/doc/libapt-pkg-doc/dpkg-tech.html/index.html +Files: /usr/share/doc/libapt-pkg-doc/dpkg-tech.html/*.html + +Format: text +Files: /usr/share/doc/libapt-pkg-doc/dpkg-tech.text.gz diff --git a/debian/libapt-pkg-doc.doc-base.files b/debian/libapt-pkg-doc.doc-base.files new file mode 100644 index 000000000..e0b79358c --- /dev/null +++ b/debian/libapt-pkg-doc.doc-base.files @@ -0,0 +1,14 @@ +Document: libapt-pkg-doc-files +Title: APT Files +Author: Jason Gunthorpe +Abstract: The APT Files document describes the complete implementation and + format of the installed APT directory structure. It also serves as guide + to how APT views the Debian archive. +Section: Devel + +Format: html +Index: /usr/share/doc/libapt-pkg-doc/files.html/index.html +Files: /usr/share/doc/libapt-pkg-doc/files.html/*.html + +Format: text +Files: /usr/share/doc/libapt-pkg-doc/files.text.gz diff --git a/debian/libapt-pkg-doc.doc-base.method b/debian/libapt-pkg-doc.doc-base.method new file mode 100644 index 000000000..61c361251 --- /dev/null +++ b/debian/libapt-pkg-doc.doc-base.method @@ -0,0 +1,14 @@ +Document: libapt-pkg-doc-method +Title: APT Method Interface +Author: Jason Gunthorpe +Abstract: The APT Method Interface document describes the interface that + APT uses to the archive access methods. +Section: Devel + +Format: html +Index: /usr/share/doc/libapt-pkg-doc/method.html/index.html +Files: /usr/share/doc/libapt-pkg-doc/method.html/*.html + +Format: text +Files: /usr/share/doc/libapt-pkg-doc/method.text.gz + diff --git a/debian/libapt-pkg-doc.postinst b/debian/libapt-pkg-doc.postinst deleted file mode 100755 index 7a8249def..000000000 --- a/debian/libapt-pkg-doc.postinst +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/sh - -case "$1" in - configure) - if [ -f /usr/sbin/dhelp_parse ]; then - /usr/sbin/dhelp_parse -a /usr/share/doc/libapt-pkg-doc - fi - ;; -esac - -#DEBHELPER# diff --git a/debian/libapt-pkg-doc.prerm b/debian/libapt-pkg-doc.prerm deleted file mode 100755 index 7759c3cf0..000000000 --- a/debian/libapt-pkg-doc.prerm +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/sh - -case "$1" in - remove|upgrade|remove-in-favour|deconfigure-in-favour) - if [ -f /usr/sbin/dhelp_parse ]; then - /usr/sbin/dhelp_parse -d /usr/share/doc/libapt-pkg-doc - fi - ;; - failed-upgrade) - ;; -esac - -#DEBHELPER# diff --git a/debian/rules b/debian/rules index 0862ffbbf..c3da7401a 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,7 @@ # Made with the aid of dh_make, by Craig Small # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. # Some lines taken from debmake, by Christoph Lameter. -# $Id: rules,v 1.47 2003/02/12 14:28:03 doogie Exp $ +# $Id: rules,v 1.48 2003/02/12 14:31:41 doogie Exp $ # LD_LIBRARY_PATH=pwd/debian/apt/usr/lib dh_shlibdeps -papt # dpkg: /home/jgg/work/apt2/debian/apt/usr/lib/libapt-pkg.so.2.9 not found. @@ -146,10 +146,6 @@ libapt-pkg-doc: build-doc debian/shlibs.local dh_installdocs -p$@ $(BLD)/docs/cache* $(BLD)/docs/design* $(BLD)/docs/dpkg-tech* \ $(BLD)/docs/files* $(BLD)/docs/method* \ doc/libapt-pkg2_to_3.txt doc/style.txt - - -cp -a debian/libapt-pkg-doc.dhelp debian/libapt-pkg-doc/usr/doc/libapt-pkg-doc/.dhelp - -cp -a debian/libapt-pkg-doc.dhelp debian/libapt-pkg-doc/usr/share/doc/libapt-pkg-doc/.dhelp - dh_installexamples -p$@ # dh_installmenu -p$@ # dh_installinit -p$@ @@ -177,11 +173,6 @@ apt-doc: build-doc # Copy the guides dh_installdocs -p$@ $(BLD)/docs/guide*.text $(BLD)/docs/guide*.html \ $(BLD)/docs/offline.text $(BLD)/docs/offline.html - - # One or the other.. - -cp -a debian/apt-doc.dhelp debian/apt/usr/doc/apt-doc/.dhelp - -cp -a debian/apt-doc.dhelp debian/apt/usr/share/doc/apt-doc/.dhelp - dh_installchangelogs -p$@ dh_compress -p$@ dh_fixperms -p$@ -- cgit v1.2.3