summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--man/dh_xul-ext.143
-rw-r--r--src/Makefile1
3 files changed, 48 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index c3636fa..b4a7971 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -45,6 +45,9 @@ mozilla-devscripts (0.19) UNRELEASED; urgency=low
- add src/xul-ext.pm
- update src/Makefile
- update debian/control
+ - wrote man page for dh_xul-ext
+ - add man/dh_xul-ext.1
+ - update src/Makefile
* install-xpi:
- Split xpi installation from xpi.mk into new install-xpi script.
- add src/install-xpi
@@ -66,7 +69,7 @@ mozilla-devscripts (0.19) UNRELEASED; urgency=low
- update src/dh_xul-ext
- update debian/control
- -- Benjamin Drung <bdrung@ubuntu.com> Wed, 06 Jan 2010 23:43:08 +0100
+ -- Benjamin Drung <bdrung@ubuntu.com> Thu, 07 Jan 2010 14:37:50 +0100
mozilla-devscripts (0.18) unstable; urgency=low
diff --git a/man/dh_xul-ext.1 b/man/dh_xul-ext.1
new file mode 100644
index 0000000..e35ea8a
--- /dev/null
+++ b/man/dh_xul-ext.1
@@ -0,0 +1,43 @@
+.\"Copyright (c) 2010 Benjamin Drung <bdrung@ubuntu.com>
+.\"
+.\"Permission is hereby granted, free of charge, to any person obtaining a copy
+.\"of this software and associated documentation files (the "Software"), to deal
+.\"in the Software without restriction, including without limitation the rights
+.\"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+.\"copies of the Software, and to permit persons to whom the Software is
+.\"furnished to do so, subject to the following conditions:
+.\"
+.\"The above copyright notice and this permission notice shall be included in
+.\"all copies or substantial portions of the Software.
+.\"
+.\"THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+.\"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+.\"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+.\"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+.\"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+.\"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+.\"THE SOFTWARE.
+.TH DH_XUL-EXT "1" "January 2010" "dh_xul-ext" "mozilla-devscripts suite"
+.SH NAME
+dh_xul-ext \- calculate XUL extension dependencies
+.SH SYNOPSIS
+.B dh_xul-ext
+[\fIoptions\fP]
+.SH DESCRIPTION
+.B dh_xul-ext
+is a helper tool for packaging XUL extensions. It calculates the supported
+XUL applications for the packages that contain an install.rdf file. It will set
+the substitution variables xpi:Recommends, xpi:Enhances, and xpi:Provides.
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Display a brief help message.
+.TP
+\fB\-p\fR \fIpackage\fP, \fB\-\-package\fR=\fIpackage\fP
+Calcalate the substvars only for the specified package. If this parameter is not
+provided, all package listed in the control file will be processed.
+.TP
+\fB\-v\fR, \fB\-\-verbose\fR
+Print more information.
+.SH AUTHOR
+Benjamin Drung <bdrung@gmail.com>
diff --git a/src/Makefile b/src/Makefile
index 05ddaea..ffb3e49 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -97,6 +97,7 @@ install: $(subst_files) $(extra_files) $(foreach dir,$(extra_dirs),$(wildcard $(
install -m 644 xul-ext.pm $(DESTDIR)/usr/share/perl5/Debian/Debhelper/Sequence/xul_ext.pm
install-man:
+ install -D -m 644 ../man/dh_xul-ext.1 $(DESTDIR)$(MANDIR)/man1/dh_xul-ext.1
install -D -m 644 ../man/install-xpi.1 $(DESTDIR)$(MANDIR)/man1/install-xpi.1
install -D -m 644 ../man/moz-version.1 $(DESTDIR)$(MANDIR)/man1/moz-version.1
install -D -m 644 ../man/xpi-pack.1 $(DESTDIR)$(MANDIR)/man1/xpi-pack.1