diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-03 14:44:58 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-03 14:44:58 -0500 |
commit | 0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6 (patch) | |
tree | c0d0d652fef20159e78fa20b2567661bd7db8e41 /debian/lenny/applications/knetload | |
parent | 6b027437fd51e7874aaffed9e395ddf7913c3ab4 (diff) | |
download | tde-packaging-0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6.tar.gz tde-packaging-0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6.zip |
Add initial Debian Lenny/Squeeze packaging as well as symlink Lucid to Maverick
Diffstat (limited to 'debian/lenny/applications/knetload')
11 files changed, 674 insertions, 0 deletions
diff --git a/debian/lenny/applications/knetload/debian/changelog b/debian/lenny/applications/knetload/debian/changelog new file mode 100644 index 000000000..e2e2cdcf1 --- /dev/null +++ b/debian/lenny/applications/knetload/debian/changelog @@ -0,0 +1,244 @@ +knetload-trinity (2.3-3.1ubuntu0) karmic; urgency=low + + * Karmic rebuild + + -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 July 2009 16:08:00 -0600 + +knetload-trinity (2.3-3.0ubuntu3) intrepid; urgency=low + + * Moved KDE3 to /opt/trinity + * Integrated properly with KDE4.2+ + + -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 06 March 2009 01:35:00 -0600 + +knetload-trinity (2.3-3.0ubuntu1) intrepid; urgency=low + + * Added -trinity suffix + + -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 18 Dec 2008 17:47:00 -0600 + +knetload (2.3-3.1ubuntu1) intrepid; urgency=low + + * Drop recommends on kicker (LP: #283543) + + -- Harald Sitter <apachelogger@ubuntu.com> Wed, 15 Oct 2008 12:47:50 +0200 + +knetload (2.3-3.1) unstable; urgency=low + + * Porter NMU with kind permission of the maintainer. + * Adjusted config.{guess,sub} (closes: #342376): + - Added auto-updates of admin/config.{guess,sub} in the clean target. + - Added a Build-Dependency on autotools-dev accordingly. + - Dropped config.{guess,sub} from the top-level directory since they + belong to the admin/ one. + * Updated libtool using the instructions provided by Aurelien Jarno and Petr + Salinger in #343962: + cp -f /usr/share/libtool/libtool.m4 admin/libtool.m4.in + cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh + make -f admin/Makefile.common + to assure a correct build on GNU/kFreeBSD. + * Updated admin/cvs.sh to detect both autoconf and autoheader 2.6* (and not + only 2.5*) according to: + http://lists.alioth.debian.org/pipermail/pkg-kde-talk/2006-July/000506.html + That was needed to apply Aurelien's instructions. + + -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> Wed, 21 Mar 2007 05:00:17 +0100 + +knetload (2.3-3) unstable; urgency=low + + * Built with gcc-4.0 and against kdelibs 4:3.4.2. + * New maintainer email address. + * Complies with new standards version (3.6.2). + * Updated Free Software Foundation address in debian/copyright to new + address. + * Replaced config.guess and config.sub with new versions from autotools-dev + (closes: Bug#306521). + + -- Helen Faulkner <helen@debian.org> Sat, 03 Sep 2005 17:44:32 +1000 + +knetload (2.3-2) unstable; urgency=low + + * Added copyright lines to debian/copyright. + * Corrected download location in debian/copyright. + * Removed obsolete kderemove tag from debian/menu. + * Removed lintian overrides, as they are no longer necessary. + * Removed unnecessary code for DEB_BUILD_OPTIONS=nostrip. + + -- Helen Faulkner <helen_ml_faulkner@yahoo.co.uk> Fri, 17 Dec 2004 13:31:27 +0000 + +knetload (2.3-1) unstable; urgency=low + + * Adopted by Helen Faulkner. + * New upstream version. + * Using AM_MAINTAINER_MODE. + + -- Helen Faulkner <helen_ml_faulkner@yahoo.co.uk> Thu, 21 Oct 2004 23:01:43 +0100 + +knetload (1.99-8) unstable; urgency=low + + * Rebuilt against KDE 3.2 for nicer docs. + * More quoting for the debian menu file. + + -- Ben Burton <bab@debian.org> Sat, 3 Jul 2004 09:36:46 +1000 + +knetload (1.99-7) unstable; urgency=low + + * Built against new libXrender. + * Bumped standards-version to 3.6.1. + + -- Ben Burton <bab@debian.org> Fri, 2 Jan 2004 18:13:07 +1100 + +knetload (1.99-6) unstable; urgency=low + + * Using high colour pixmap for debian menu entry. + * Updated SEE ALSO section of manpage. + * Bumped standards-version to 3.6.0. + * Updated package sections. + + -- Ben Burton <bab@debian.org> Wed, 27 Aug 2003 20:04:25 +1000 + +knetload (1.99-5) unstable; urgency=low + + * Patched admin/acinclude.m4.in for s390 build (closes: #186815). + * Using AM_MAINTAINER_MODE. + + -- Ben Burton <bab@debian.org> Tue, 8 Apr 2003 09:27:53 +1000 + +knetload (1.99-4) unstable; urgency=low + + * Removed dangling symlink (closes: #186172). + + -- Ben Burton <bab@debian.org> Wed, 26 Mar 2003 14:06:57 +1100 + +knetload (1.99-3) unstable; urgency=low + + * Updated admin/debianrules for new Qt dirs (closes: #184690). + * Removed alpha compile flags. + + -- Ben Burton <bab@debian.org> Sun, 16 Mar 2003 16:00:19 +1100 + +knetload (1.99-2) unstable; urgency=low + + * First KDE3 upload to debian! + * Build-depends on debhelper v4. + + -- Ben Burton <bab@debian.org> Mon, 3 Feb 2003 10:40:27 +1100 + +knetload (1.99-1) unstable; urgency=low + + * New upstream version. + * Bumped standards-version to 3.5.8. + + -- Ben Burton <bab@debian.org> Tue, 14 Jan 2003 19:23:14 +1100 + +knetload (1.91-trinity-1) unstable; urgency=low + + * Ported to KDE3. + + -- Ben Burton <benb@acm.org> Mon, 2 Sep 2002 12:57:36 +1000 + +knetload (1.91-15) unstable; urgency=low + + * Fixed the alpha build _again_. + + -- Ben Burton <benb@acm.org> Sun, 4 Nov 2001 11:12:23 -0600 + +knetload (1.91-14) unstable; urgency=low + + * No longer runs ./configure a second time (fixes alpha builds). + + -- Ben Burton <benb@acm.org> Mon, 29 Oct 2001 10:43:01 -0600 + +knetload (1.91-13) unstable; urgency=low + + * Consecutive builds now produce the same source diffs. + + -- Ben Burton <benb@acm.org> Thu, 11 Oct 2001 14:09:31 -0500 + +knetload (1.91-12) unstable; urgency=low + + * Builds with automake 1.5. + * Updated config.guess and config.sub (closes: Bug#115014). + + -- Ben Burton <benb@acm.org> Thu, 11 Oct 2001 09:41:57 -0500 + +knetload (1.91-11) unstable; urgency=low + + * Updated parameters for alpha build. + + -- Ben Burton <benb@acm.org> Sun, 23 Sep 2001 23:07:01 -0500 + +knetload (1.91-10) unstable; urgency=low + + * objprelink: now you see it, now you don't (removed). + + -- Ben Burton <benb@acm.org> Sun, 16 Sep 2001 12:22:33 -0500 + +knetload (1.91-9) unstable; urgency=low + + * Uses objprelink. + + -- Ben Burton <benb@acm.org> Thu, 30 Aug 2001 09:10:08 -0500 + +knetload (1.91-8) unstable; urgency=low + + * Cleaned up debian/rules. + + -- Ben Burton <benb@acm.org> Wed, 8 Aug 2001 19:08:30 +1000 + +knetload (1.91-7) unstable; urgency=low + + * Builds on alpha. + * Upped standards-version to 3.5.6. + + -- Ben Burton <benb@acm.org> Sat, 4 Aug 2001 00:32:46 +1000 + +knetload (1.91-6) unstable; urgency=low + + * Removed redundancies from build-depends. + * Cosmetic change to doc-base registration. + + -- Ben Burton <benb@acm.org> Mon, 21 May 2001 10:48:13 -0500 + +knetload (1.91-5) unstable; urgency=low + + * Fleshed out man page. + + -- Ben Burton <benb@acm.org> Mon, 7 May 2001 07:58:17 -0500 + +knetload (1.91-4) unstable; urgency=low + + * Updated debian/rules to DH_COMPAT=3. + * Build-Depends: required version (>> 3.0.0) of debhelper. + * Updated Standards-Version to 3.5.2. + * Added kderemove="1" to the debian menu item. + * Miscellaneous tidying in debian/. + + -- Ben Burton <benb@acm.org> Thu, 26 Apr 2001 12:47:52 -0500 + +knetload (1.91-3) unstable; urgency=low + + * Added Suggests: kcpuload. + * Removed dh_testversion from debian/rules. + + -- Ben Burton <benb@acm.org> Wed, 28 Mar 2001 13:32:24 -0600 + +knetload (1.91-2) unstable; urgency=low + + * Rebuilt for new libqt2 libraries. + + -- Ben Burton <benb@acm.org> Tue, 6 Mar 2001 07:49:40 -0600 + +knetload (1.91-1) unstable; urgency=low + + * Initial Release (closes: Bug#86935). + * Added a man page. + * Added an icon in /usr/share/pixmaps/. + * Moved HTML documentation from /usr/share/apps/knetload/docs/ to + /usr/share/doc/kde/HTML/en/knetload/ so that dwww can access it. + + -- Ben Burton <benb@acm.org> Wed, 21 Feb 2001 12:08:16 -0600 + +Local variables: +mode: debian-changelog +End: diff --git a/debian/lenny/applications/knetload/debian/control b/debian/lenny/applications/knetload/debian/control new file mode 100644 index 000000000..65d5b4b4d --- /dev/null +++ b/debian/lenny/applications/knetload/debian/control @@ -0,0 +1,22 @@ +Source: knetload-trinity +Section: kde +Priority: optional +Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net> +XSBC-Original-Maintainer: Helen Faulkner <helen@debian.org> +Build-Depends: debhelper (>> 4.0.0), kdelibs4-trinity-dev (>= 4:3.4.2), automake, autoconf, libtool, libltdl-dev +Standards-Version: 3.8.4 + +Package: knetload-trinity +Architecture: any +Section: kde +Depends: ${shlibs:Depends} +Conflicts: knetload +Suggests: kcpuload-trinity +Description: a network meter for Kicker [Trinity] + KNetLoad is a small network meter for Kicker (the KDE panel). It shows + a recent history of network usage in the form of two configurable + diagrams in the system tray, one for incoming and one for outgoing + data. These diagrams have settings for colours and various different + styles. + . + KNetLoad can monitor just about any network device. diff --git a/debian/lenny/applications/knetload/debian/copyright b/debian/lenny/applications/knetload/debian/copyright new file mode 100644 index 000000000..7093501e6 --- /dev/null +++ b/debian/lenny/applications/knetload/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Ben Burton <bab@debian.org> on +Wed, 21 Feb 2001 12:08:16 -0600. + +It was downloaded from http://flameeyes.web.ctonet.it/downloads.html#knetload + +Upstream Authors: Flameeyes <dgp85@users.sourceforge.net> + Markus Gustavsson <mighty@fragzone.se>, + Ben Burton <bab@debian.org>, + and others... + +Copyright: + + Copyright (c) 1999-2000, Markus Gustavsson + (c) 2002, Ben Burton + (c) 2004, Flameeyes + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software Foundation, + 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/debian/lenny/applications/knetload/debian/dirs b/debian/lenny/applications/knetload/debian/dirs new file mode 100644 index 000000000..43e7f554c --- /dev/null +++ b/debian/lenny/applications/knetload/debian/dirs @@ -0,0 +1,2 @@ +opt/trinity/bin +opt/trinity/sbin diff --git a/debian/lenny/applications/knetload/debian/docs b/debian/lenny/applications/knetload/debian/docs new file mode 100644 index 000000000..ca0272abf --- /dev/null +++ b/debian/lenny/applications/knetload/debian/docs @@ -0,0 +1,3 @@ +AUTHORS +README +TODO diff --git a/debian/lenny/applications/knetload/debian/knetload-trinity.install b/debian/lenny/applications/knetload/debian/knetload-trinity.install new file mode 100644 index 000000000..cdb14888d --- /dev/null +++ b/debian/lenny/applications/knetload/debian/knetload-trinity.install @@ -0,0 +1 @@ +debian/knetload.xpm /opt/trinity/share/pixmaps diff --git a/debian/lenny/applications/knetload/debian/knetload-trinity.manpages b/debian/lenny/applications/knetload/debian/knetload-trinity.manpages new file mode 100644 index 000000000..b0a6ac166 --- /dev/null +++ b/debian/lenny/applications/knetload/debian/knetload-trinity.manpages @@ -0,0 +1 @@ +debian/knetload.1 diff --git a/debian/lenny/applications/knetload/debian/knetload.1 b/debian/lenny/applications/knetload/debian/knetload.1 new file mode 100644 index 000000000..389c46593 --- /dev/null +++ b/debian/lenny/applications/knetload/debian/knetload.1 @@ -0,0 +1,56 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH KNETLOAD 1 "January 14, 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp <n> insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +knetload \- a network meter for Kicker +.SH SYNOPSIS +.B knetload +.RI "[ " generic-options " ]" +.SH DESCRIPTION +\fBKNetLoad\fP is a small program for Kicker (the KDE panel). It +shows a recent history of network usage in the form of two +configurable diagrams in the system tray, one for incoming and one +for outgoing data. +These diagrams have settings for colors and various different styles. +.PP +Left click on a diagram to bring up a small information box which +will show the exact input and output rates in text form as well as +the total amount incoming and outgoing data. +.PP +Note that before KNetLoad can be useful you must select which +network device it should monitor and select an appropriate scaling +value that reflects the speed of this network device. +.PP +KNetLoad can monitor almost any network device; if your device is +not in the predefined list of devices (such as eth0, ppp0 and +ippp0) then you can type in your own device. +.SH OPTIONS +For a full summary of options, run \fIknetload \-\-help\fP. +.SH SEE ALSO +Full user documentation is available through the KDE Help Centre. +You can also enter the URL +\fIhelp:/knetload/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/knetload/\fP' +from the command-line. +.PP +If the KDE Help Centre is not installed then you can +read this documentation in HTML format from +\fI/usr/share/doc/kde/HTML/en/knetload/\fP. +.SH AUTHOR +KNetLoad was written by Flameeyes <dgp85@users.sourceforge.net>, +Markus Gustavsson <mighty@fragzone.se> and Ben Burton <bab@debian.org>. diff --git a/debian/lenny/applications/knetload/debian/knetload.xpm b/debian/lenny/applications/knetload/debian/knetload.xpm new file mode 100644 index 000000000..3cc7ef17f --- /dev/null +++ b/debian/lenny/applications/knetload/debian/knetload.xpm @@ -0,0 +1,113 @@ +/* XPM */ +static char *knetload[] = { +/* columns rows colors chars-per-pixel */ +"32 32 75 1", +" c black", +". c #1A0016", +"X c #1E0019", +"o c #22001C", +"O c #24001E", +"+ c #260020", +"@ c #2A0023", +"# c #2C0025", +"$ c #2E0026", +"% c #32002A", +"& c #34002C", +"* c #36002D", +"= c #38002F", +"- c #3C0032", +"; c #3E0034", +": c #400036", +"> c #440039", +", c #48003C", +"< c #4A003E", +"1 c #4C0040", +"2 c #4E0042", +"3 c #540047", +"4 c #5A004C", +"5 c #5C004D", +"6 c #5E004F", +"7 c #660056", +"8 c #680058", +"9 c #6C005B", +"0 c #720060", +"q c #740062", +"w c #760063", +"e c #780065", +"r c #7E006A", +"t c #4C4C4C", +"y c gray47", +"u c #82006E", +"i c #84006F", +"p c #860071", +"a c #880073", +"s c #8A0074", +"d c #8E0078", +"f c #900079", +"g c #92007B", +"h c #96007F", +"j c #980080", +"k c #9C0084", +"l c #A00087", +"z c #A20089", +"x c #A4008A", +"c c #A8008E", +"v c #AA0090", +"b c #B40098", +"n c #B6009A", +"m c #B8009B", +"M c #BA009D", +"N c #BC009F", +"B c #BE00A0", +"V c #C200A4", +"C c #C600A7", +"Z c #CC00AC", +"A c #CE00AE", +"S c #D000B0", +"D c #D200B1", +"F c #D800B6", +"G c #DC00BA", +"H c #E000BD", +"J c #E400C1", +"K c #E600C2", +"L c #EA00C6", +"P c #EE00C9", +"I c #F000CB", +"U c #F600D0", +"Y c #FC00D5", +"T c #FE00D7", +"R c gray100", +/* pixels */ +"tttttttttttttttttttttttttttttttt", +"t R", +"t R", +"t R", +"t R", +"t R", +"t R", +"t R", +"t U R", +"t L R", +"t yyGyyTyTyyyyyyyyyyyyyyyy R", +"t S I I II R", +"t T V TH H HH R", +"t P bTPS S SS R", +"t G cLGV VU VV U R", +"t ZykFZbTbJTbbTYTyyTTyHTYT R", +"t NTdCNxJxSJxxJKKTTJKTAKKK R", +"t vJubvhShBShhSSDJKDDKNDDD R", +"t hZ0xjpBpvBppNNNAANNAcNNN R", +"t pN7gpecejceecccmmccmkccc R", +"t 0x4re8g8pg88gggllggliggg R", +"t 7s2974r40r44rrrssrrs0rrr R", +"t 30;43<8<58<<888008805888 R", +"t >4*<>-3-23--333553352333 R", +"t %>+*%$-$*;$@;;;>>;;>=;;; R", +"t o$.OoX@X+@XX@@@$$@@$+@@@ R", +"t R", +"t R", +"t R", +"t R", +"t R", +"tRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR" +}; diff --git a/debian/lenny/applications/knetload/debian/menu b/debian/lenny/applications/knetload/debian/menu new file mode 100644 index 000000000..a39b37e3c --- /dev/null +++ b/debian/lenny/applications/knetload/debian/menu @@ -0,0 +1,6 @@ +?package(knetload):needs="X11"\ + section="Apps/System"\ + hints="KDE"\ + title="KNetLoad"\ + command="/opt/trinity/bin/knetload"\ + icon="/usr/share/pixmaps/knetload.xpm" diff --git a/debian/lenny/applications/knetload/debian/rules b/debian/lenny/applications/knetload/debian/rules new file mode 100755 index 000000000..c0beba707 --- /dev/null +++ b/debian/lenny/applications/knetload/debian/rules @@ -0,0 +1,195 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/kde +DEB_CONFIGURE_MANDIR := /opt/trinity/share/man +DEB_CONFIGURE_PREFIX := /opt/trinity +DEB_CONFIGURE_INFODIR := /opt/trinity/share/info + +cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=4 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +INSTALL_DIR = install -p -d -o root -g root -m 755 +INSTALL_FILE = install -p -o root -g root -m 644 + +objdir = $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE) + +tmp = debian/knetload-trinity + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif + +ifeq ($(DEB_BUILD_GNU_TYPE),i386-linux) + # Uncomment the following 2 lines to enable i686 optimziation + # You may want to tweak the settings to your likings + #export CFLAGS=-O3 -march=i686 -ffast-math -finline-functions + #export CXXFLAGS=-O3 -march=i686 -ffast-math -finline-functions +endif + +-include debian/debiandirs + +debian/debiandirs: admin/debianrules + perl -w admin/debianrules echodirs > debian/debiandirs + +configure: configure-stamp +configure-stamp: + dh_testdir + + # Apply Debian specific patches + if test ! -f patch-stamp; then \ + for patch in $(CURDIR)/debian/patches/*.diff ;\ + do \ + echo APPLYING PATCH\: $${patch##*/};\ + patch -p1 < $$patch ;\ + done ;\ + touch patch-stamp ;\ + fi + + ! [ -f /usr/share/libtool/ltmain.sh ] || \ + cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh + ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ + cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh + cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + + make -f admin/Makefile.common cvs + touch debian/stamp-bootstrap + + # make build directory + mkdir $(objdir) + + # run configure with build tree $(objdir) + cd $(objdir) && \ + ../configure $(configkde) --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/kde + + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + cd $(objdir) && \ + $(MAKE) + + touch build-stamp + +debian-clean: + dh_testdir + dh_testroot + + dh_clean + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp debian/debiandirs + + # Remove Debian specific patches + if test -f patch-stamp; then \ + for patch in $(CURDIR)/debian/patches/*.diff ;\ + do \ + echo REMOVING PATCH\: $${patch##*/};\ + patch -p1 -R < $$patch ;\ + done ;\ + rm -f patch-stamp ;\ + fi + + # Remove build tree + rm -rf $(objdir) + + # if Makefile exists run distclean + if test -f Makefile; then \ + $(MAKE) distclean; \ + fi + + if test -d CVS; then \ + $(MAKE) -f admin/Makefile.common cvs-clean ;\ + fi + + # Auto-update config.{guess,sub} + -test -r /usr/share/misc/config.guess && \ + cp -f /usr/share/misc/config.guess admin/config.guess + -test -r /usr/share/misc/config.sub && \ + cp -f /usr/share/misc/config.sub admin/config.sub + + dh_clean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + cd $(objdir) && \ + $(MAKE) install DESTDIR=$(CURDIR)/debian/knetload-trinity + + # Install additional files beyond the standard install. + dh_install + + # Generate HTML docs. +# for i in `find $(tmp) -name "index.docbook"`; do \ +# ( cd `dirname $$i`; meinproc `basename $$i` ); \ +# done + + # Install standard documentation links. + for pkg in `dh_listpackages`; do \ + if test -d debian/$$pkg/opt/trinity/share/doc/kde/HTML/en/$$pkg; then \ + dh_link -p$$pkg opt/trinity/share/doc/kde/HTML/en/$$pkg \ + opt/trinity/share/doc/$$pkg/html; \ + fi; \ + done + +# This single target is used to build all the packages, all at once, or +# one at a time. So keep in mind: any options passed to commands here will +# affect _all_ packages. Anything you want to only affect one package +# should be put in another target, such as the install target. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installman + dh_installmenu + dh_installmime + dh_strip + dh_link + dh_compress -X.docbook -X.css -X-license -X.dcl -X.bz2 + dh_fixperms + dh_makeshlibs -V + dh_installdeb + dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: build install + # We have nothing to do by default. + +# Build architecture dependant packages using the common target. +binary-arch: build install + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +# Any other binary targets build just one binary package at a time. +binary-%: build install + $(MAKE) -f debian/rules binary-common DH_OPTIONS=-p$* + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure |