diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-07-08 17:18:52 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-07-08 17:18:52 +0100 |
commit | a6c6c18d935e5c020e9ec37bc11fcde2374374b2 (patch) | |
tree | e66b313cc14932d97985eaac03458d900a86d523 | |
parent | 8757300b6fe5013efbc0841fd634eee4188cf8fc (diff) |
Updated client manpage-manufacture.
-rwxr-xr-x | bin/mauveclient | 17 | ||||
-rw-r--r-- | debian/control | 8 | ||||
-rw-r--r-- | debian/mauvealert-client.links | 1 | ||||
-rwxr-xr-x | debian/rules | 13 |
4 files changed, 19 insertions, 20 deletions
diff --git a/bin/mauveclient b/bin/mauveclient index 5e5503a..70f33c7 100755 --- a/bin/mauveclient +++ b/bin/mauveclient @@ -1,20 +1,13 @@ #! /usr/bin/ruby1.8 # NAME -# -# mauveclient send alert(s) to a given alert station +# mauveclient - send alert(s) to a given alert station # # SYNOPSIS -# -# mauveclient [<destination>] -# [--source | -o <source>] [--replace | -p] [--verbose | -v] -# [--id <alertid> ... ] -# -# DESCRIPTION -# -# Blah. +# mauveclient [<destination>] +# [--source | -o <source>] [--replace | -p] [--verbose | -v] +# [--id <alertid> ... ] # # OPTIONS -# # <destination> Where the alert should go. This can be either a hostname or # an IP address, and optionally a port, separated by a colon. # The default port is 32741. @@ -255,7 +248,7 @@ begin # if help # Open the file, stripping the shebang line - lines = File.open(__FILE__){|fh| fh.readlines}[2..-1] + lines = File.open(__FILE__){|fh| fh.readlines}[1..-1] lines.each do |line| line.chomp! diff --git a/debian/control b/debian/control index 649dcbd..a8edc31 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Maintainer: Matthew Bloch <matthew@bytemark.co.uk> Uploaders: Patrick J Cherry <patrick@bytemark.co.uk> Section: ruby Priority: optional -Build-Depends: ruby1.8, debhelper, cdbs, rdoc +Build-Depends: ruby1.8, debhelper, cdbs, rdoc, txt2man Standards-Version: 3.8.0 Package: mauvealert-client @@ -12,7 +12,7 @@ Depends: ruby1.8, mauvealert-common, ${misc:Depends} Description: Mauve network alert system -- client - mauve is a network alert system for system and network administrators. You + Mauve is a network alert system for system and network administrators. You can use it to quickly set up ad-hoc monitoring for a variety of services, and to confidently replace all scripts that might otherwise send floods of emails or text messages. @@ -45,7 +45,7 @@ Depends: mauvealert-common, ${misc:Depends} Suggests: mauvealert-client Description: Mauve network alert system -- server - mauve is a network alert system for system and network administrators. You can + Mauve is a network alert system for system and network administrators. You can use it to quickly set up ad-hoc monitoring for a variety of services, and to confidently replace all scripts that might otherwise send floods of emails or text messages. @@ -57,7 +57,7 @@ Architecture: all Depends: ruby1.8, ruby-protobuf, ${misc:Depends} Suggests: mauvealert-client Description: Mauve network alert system -- common libraries - mauve is a network alert system for system and network administrators. You can + Mauve is a network alert system for system and network administrators. You can use it to quickly set up ad-hoc monitoring for a variety of services, and to confidently replace all scripts that might otherwise send floods of emails or text messages. diff --git a/debian/mauvealert-client.links b/debian/mauvealert-client.links index 9c829dd..9e89d66 100644 --- a/debian/mauvealert-client.links +++ b/debian/mauvealert-client.links @@ -1,2 +1,3 @@ usr/bin/mauveclient usr/bin/mauvesend +usr/share/man/man1/mauveclient.1.gz usr/share/man/man1/mauvesend.1.gz diff --git a/debian/rules b/debian/rules index 1a62ae6..061744f 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,14 @@ #!/usr/bin/make -f # -include /usr/share/cdbs/1/rules/debhelper.mk -# include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk +build: + make all + dh $@ + +clean: + make clean + dh $@ -# in which directory to build -# BUILDDIR = debian/tmp +%: + dh $@ |