summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2008-07-24 16:15:21 +0200
committerReinhard Tartler <siretart@tauware.de>2008-07-24 16:15:21 +0200
commit85129501aa7b913989b9893196cc0cdadccd75b9 (patch)
tree50267ba7305e8fd73216d30b5e758d7378d11779 /debian
parent37e3f5af414d836a52203db282fff0b1f59b9410 (diff)
build and install the administrator guide and the installation guide.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog3
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules21
3 files changed, 21 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index f74bfd18..8e496405 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
boxbackup (0.11~rc2-4) unstable; urgency=low
* add a note to documentation about adjusted syslog facility.
+ * build and install the administrator guide and the installation guide.
- -- Reinhard Tartler <siretart@tauware.de> Thu, 24 Jul 2008 15:20:32 +0200
+ -- Reinhard Tartler <siretart@tauware.de> Thu, 24 Jul 2008 16:01:35 +0200
boxbackup (0.11~rc2-3.1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 188589fa..dcf494e4 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: boxbackup
Section: utils
Priority: optional
Maintainer: Reinhard Tartler <siretart@tauware.de>
-Build-Depends: debhelper (>> 5.0.0), libedit-dev, libdb-dev, libssl-dev, zlib1g-dev
+Build-Depends: debhelper (>> 5.0.0), libedit-dev, libdb-dev, libssl-dev, zlib1g-dev, docbook-utils
Standards-Version: 3.7.3
XS-Vcs-bzr: http://bazaar.launchpad.net/~siretart/boxbackup/boxbackup.debian
XS-Vcs-Browser: http://codebrowse.launchpad.net/~siretart/boxbackup/boxbackup.debian/files
diff --git a/debian/rules b/debian/rules
index 1128b7c1..755ebc6e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,10 +26,16 @@ configure-stamp:
build-stamp: configure-stamp
dh_testdir
$(MAKE)
- touch build-stamp
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-./runtest.pl ALL
endif
+ touch build-stamp
+
+documentation/instguide.pdf:
+ cd documentation && docbook2pdf instguide.xml
+
+documentation/adminguide.pdf:
+ cd documentation && docbook2pdf adminguide.xml
# generated files for removal
GENERATED_FILES = ExceptionCodes.txt infrastructure/BoxPlatform.pm
@@ -49,8 +55,16 @@ GENERATED_FILES += bin/bbackupd/bbackupd-config
GENERATED_FILES += bin/bbackupquery/makedocumentation.pl
GENERATED_FILES += bin/bbstored/bbstored-certs
GENERATED_FILES += bin/bbstored/bbstored-config
+GENERATED_FILES += contrib/solaris/bbackupd-manifest.xml
+GENERATED_FILES += contrib/solaris/bbackupd-smf-method
+GENERATED_FILES += contrib/solaris/bbstored-manifest.xml
+GENERATED_FILES += contrib/solaris/bbstored-smf-method
+GENERATED_FILES += documentation/ExceptionCodes.xml
+GENERATED_FILES += documentation/manpage.links
+GENERATED_FILES += documentation/manpage.refs
+
-build: build-stamp
+build: build-stamp documentation/instguide.pdf documentation/adminguide.pdf
clean:
dh_testdir
@@ -71,6 +85,7 @@ clean:
rm -fr release/ debug/ local/ parcels/
dh_clean config.log config.status
+ dh_clean documentation/instguide.pdf documentation/adminguide.pdf
[ ! -f Makefile ] || $(MAKE) distclean
[ ! -f Makefile ] || $(MAKE) clean
dh_clean $(GENERATED_FILES)
@@ -97,7 +112,7 @@ binary-arch: build install
dh_testdir -a
dh_testroot -a
dh_installdebconf -a
- dh_installdocs -a -A ExceptionCodes.txt
+ dh_installdocs -a -A ExceptionCodes.txt documentation/instguide.pdf documentation/adminguide.pdf
dh_installinit -a
dh_installcron -a
dh_installman