From fd09ffad7fdc1ca416f4e7091955378968dbeb67 Mon Sep 17 00:00:00 2001 From: Michael Gebetsroither Date: Thu, 4 Oct 2007 13:31:20 +0200 Subject: [PATCH] build docs and added them to the .deb --- debian/control | 4 ++-- debian/rules | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index c4d0a59..21f1730 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: grml-network Section: grml Priority: optional Maintainer: Michael Prokop -Build-Depends: debhelper (>= 5) +Build-Depends: debhelper (>= 5), xsltproc, docbook-xsl, asciidoc Standards-Version: 3.7.2 Homepage: http://hg.grml.org/grml-network/ XS-Vcs-hg: http://hg.grml.org/grml-network/ @@ -11,7 +11,7 @@ XS-Vcs-Browser: http://hg.grml.org/grml-network/ Package: grml-network Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, zsh, psmisc -Suggests: wireless-tools, wpasupplicant, pptp-linux, wvdial, nmap, pppoeconf, isdnutils-base, resolvconf +Suggests: wireless-tools, wpasupplicant, pptp-linux, wvdial, nmap, pppoeconf, isdnutils-base, resolvconf, bridge-utils, uml-utilities Conflicts: grml-scripts (<< 0.8-26) Description: network related helper scripts This package provides scripts for network related diff --git a/debian/rules b/debian/rules index 176e405..ecc272e 100755 --- a/debian/rules +++ b/debian/rules @@ -13,11 +13,13 @@ build: build-stamp build-stamp: dh_testdir + ( cd docs && $(MAKE) ) touch $@ clean: dh_testdir dh_testroot + ( cd docs && $(MAKE) clean ) rm -f build-stamp dh_clean @@ -31,6 +33,8 @@ install: build install -m 644 net-functions debian/grml-network/etc/grml/ install -m 644 routersetup debian/grml-network/etc/grml/ + ( cd docs && $(MAKE) install DESTDIR=../debian/grml-network ) + # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. -- 2.1.4