summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourdan2007-01-15 12:40:45 +0000
committerfourdan2007-01-15 12:40:45 +0000
commite73af91d3d320ac7b3ddeca36ac51f2af07fb360 (patch)
treebd4e269c17262f6ef1c4ad5253baf0caeca712ef
parentd4b5eef39f6ebed33d819c3bdd92b66585652127 (diff)
downloadivymon-e73af91d3d320ac7b3ddeca36ac51f2af07fb360.zip
ivymon-e73af91d3d320ac7b3ddeca36ac51f2af07fb360.tar.gz
ivymon-e73af91d3d320ac7b3ddeca36ac51f2af07fb360.tar.bz2
ivymon-e73af91d3d320ac7b3ddeca36ac51f2af07fb360.tar.xz
Update package for Debian Etch
-rw-r--r--debian/changelog6
-rw-r--r--debian/dirs1
-rwxr-xr-xdebian/rules86
3 files changed, 62 insertions, 31 deletions
diff --git a/debian/changelog b/debian/changelog
index 1db4c83..ab91f29 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ivymon (1.17-2) unstable; urgency=low
+
+ * Update package for Debian Etch
+
+ -- Olivier Fourdan <fourdan@cena.fr> Mon, 15 Jan 2007 13:38:37 +0100
+
ivymon (1.17) unstable; urgency=low
* regulation system simplification
diff --git a/debian/dirs b/debian/dirs
index ca882bb..e772481 100644
--- a/debian/dirs
+++ b/debian/dirs
@@ -1,2 +1 @@
usr/bin
-usr/sbin
diff --git a/debian/rules b/debian/rules
index 52a76ad..1ff6dd7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,43 +2,67 @@
# Made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.
+export DH_VERBOSE=1
package=ivymon
-build:
- $(checkdir)
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+ touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+ pod2man src/$(package) > src/$(package).1
touch build
+ touch build-stamp
clean:
- $(checkdir)
- -rm -f build
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
-$(MAKE) clean
- -rm -f `find . -name "*~"`
- -rm -rf debian/tmp debian/files* core debian/substvars
-
-binary-indep: checkroot build
- $(checkdir)
- -rm -rf debian/tmp
- install -d debian/tmp
- cd debian/tmp && install -d `cat ../dirs`
- install -m755 src/ivymon debian/tmp/usr/bin/ivymon
-# Must have debmake installed for this to work. Otherwise please copy
-# /usr/bin/debstd into the debian directory and change debstd to debian/debstd
- pod2man src/ivymon > src/ivymon.1
- debstd
- dpkg-gencontrol
- chown -R root.root debian/tmp
- chmod -R go=rX debian/tmp
- dpkg --build debian/tmp ..
-
-binary-arch: checkroot build
- $(checkdir)
-# There are no architecture-dependent files to be uploaded
-# generated by this package. If there were any they would be
-# made here.
+ dh_clean
-define checkdir
- test -f debian/rules
-endef
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ install -m755 src/$(package) $(CURDIR)/debian/tmp/usr/bin/$(package)
+ dh_installman src/$(package).1
+
+binary-indep: build install
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_install --source=$(CURDIR)/debian/tmp
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
binary: binary-indep binary-arch
@@ -47,3 +71,5 @@ checkroot:
test root = "`whoami`"
.PHONY: binary binary-arch binary-indep clean checkroot
+
+