.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "JH_INSTALLLIBS 1" .TH JH_INSTALLLIBS 1 "2023-07-29" "0.79" "Javahelper" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" jh_installlibs \- installs jar files in usr/share/java of a package .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBjh_installlibs\fR [\fIdebhelper options\fR] .PP \&\fBjh_installlibs\fR [\fIdebhelper options\fR] [\fB\-p\fR\fIpackage\fR] [\fB\-\-classpath=\fR\fIcp\fR] [\fIjar [...]\fR] .SH "DESCRIPTION" .IX Header "DESCRIPTION" For library packages Debian Java policy currently requires that the libraries be installed to /usr/share/java in a versioned format and with an unversioned symlink. \fBjh_installlibs\fR will take a jar and correctly install it. .PP As with debhelper programs, this can either take a jar as a parameter, or read a list of jars from a file in the Debian directory. It also follows the \-p, \-i and \-a semantics of debhelper for selecting which packages to install the jar to. When operating on a package, \&\fBjh_installlibs\fR will read the list of library jars from \&\fIdebian/\fIpackage\fI.jlibs\fR or \fIdebian/jlibs\fR. .PP The \fIjlibs\fR file is a list of jars to install, one per line, and works exactly the same as listing them on the command line. Each jar is installed to debian/\fIpackage\fR/usr/share/java/ in the appropriate versioned and unversioned forms. .PP If the jars built by upstream already contain the version number, this will be stripped before installing. \fBjh_installlibs\fR will also try to strip the upstream version number of any ds or dfsg suffix. Other version-mangling options or explicit version numbers can also be provided. .SH "FILES" .IX Header "FILES" .IP "\fIdebian/\fIpackage\fI.jlibs\fR, \fIdebian/jlibs\fR" 4 .IX Item "debian/package.jlibs, debian/jlibs" The \fIjlibs\fR file is a list of jars to install, one per line, and works exactly the same as listing them on the command line. Each jar is installed to debian/\fIpackage\fR/usr/share/java/ in the appropriate versioned and unversioned forms. .Sp Note that unlike most other debhelper commands, \&\fBjh_installlibs\fR will use \fIdebian/jlibs\fR as a fallback configuration file for \fIall\fR packages that it acts on. Other debhelper commands usually only apply this fallback to the \&\*(L"main package\*(R". .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-\-no\-mangle\fR" 4 .IX Item "--no-mangle" Do not try to sanitize the upstream version number. .IP "\fB\-\-upstream\-version=\fR\fIversion\fR" 4 .IX Item "--upstream-version=version" Use \fIversion\fR as the upstream version. This option implies \fB\-\-no\-mangle\fR .IP "\fB\-\-version\-strip=\fR\fIregex\fR" 4 .IX Item "--version-strip=regex" Use \fIregex\fR instead of the built-in rules for sanitizing the upstream version number. .Sp This option is ignored when \fB\-\-no\-mangle\fR is passed (or implied by another option). .PP Beyond the above, \fBjh_classpath\fR also accepts the shared debhelper options documented in \fBdebhelper\fR\|(7). .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBdebhelper\fR\|(7) .PP This program is a part of javahelper and uses debhelper as backend. There are also tutorials in /usr/share/doc/javahelper. .SH "AUTHOR" .IX Header "AUTHOR" Niels Thykier