build docs and added them to the .deb
authorMichael Gebetsroither <michael.geb@gmx.at>
Thu, 4 Oct 2007 11:31:20 +0000 (13:31 +0200)
committerMichael Gebetsroither <michael.geb@gmx.at>
Thu, 4 Oct 2007 11:31:20 +0000 (13:31 +0200)
debian/control
debian/rules

index c4d0a59..21f1730 100644 (file)
@@ -2,7 +2,7 @@ Source: grml-network
 Section: grml
 Priority: optional
 Maintainer: Michael Prokop <mika@grml.org>
-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
index 176e405..ecc272e 100755 (executable)
@@ -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.