summaryrefslogtreecommitdiff
path: root/dh_link.1
diff options
context:
space:
mode:
authorjoey <joey>1999-09-06 05:47:41 +0000
committerjoey <joey>1999-09-06 05:47:41 +0000
commit37c69d4e7124fb03edf46bea4eb38f6721f2aa2a (patch)
tree2ab81f9330d3cb5b01d3600ec41d1f1988b17f68 /dh_link.1
parentda7d6c32c080678dc672f7c6e680c11569f46eda (diff)
r266: * FHS complience. Patch from Johnie Ingram <johnie@netgod.net>.
For the most part, this was a straight-forward substitution, dh_installmanpages needed a non-obvious change though. * Closes: #42489, #42587, #41732. * dh_installdocs: Adds code to postinst and prerm as specified in http://www.debian.org/Lists-Archives/debian-ctte-9908/msg00038.html, to make /usr/doc/<package> a compatability symlink to /usr/share/doc/<package>. Note that currently if something exists in /usr/doc/<package> when the postinst is run, it will silently not make the symlink. I'm considering more intellingent handing of this case. * Note that if you build a package with this version of debhelper, it will use /usr/share/man, /usr/share/doc, and /usr/share/info. You may need to modify other files in your package that reference the old locations.
Diffstat (limited to 'dh_link.1')
-rw-r--r--dh_link.112
1 files changed, 5 insertions, 7 deletions
diff --git a/dh_link.1 b/dh_link.1
index 5a3fbbc2..734d4934 100644
--- a/dh_link.1
+++ b/dh_link.1
@@ -24,14 +24,12 @@ ackage dh_link is told to act on. By default, this is the first binary
package in debian/control, but if you use -p, -i, or -a flags, it will be
the first package specified by those flags.
.P
-Be sure to only use file names relative to the package build
-directory. Ie, "/usr/bin/foo" should not be used, use "usr/bin/foo" instead.
-Also, be sure you
+Be sure you
.B do
specify the full filename to both the source and destination files (unlike
you would do if you were using something like
.BR ln (1)
-)
+).
.P
dh_link will generate symlinks that comply with debian policy - absolute
when policy says they should be absolute, and relative links with as short a
@@ -54,10 +52,10 @@ this in the package build directory of the first package acted on.
(Or in all packages if -A is specified.)
.SH EXAMPLES
.TP
-.B dh_link usr/man/man1/foo.1 usr/man/man1/bar.1
+.B dh_link usr/share/man/man1/foo.1 usr/share/man/man1/bar.1
Make bar.1 be a symlink to foo.1
.TP
-.B dh_link var/lib/foo usr/lib/foo usr/X11R6/man/man1/foo.1x usr/man/man1/bar.1
+.B dh_link var/lib/foo usr/lib/foo usr/X11R6/man/man1/foo.1x usr/share/man/man1/bar.1
Make /usr/lib/foo/ be a link to /var/lib/foo/, and bar.1 be a symlink to the
X man page foo.1x
.SH ENVIRONMENT
@@ -70,6 +68,6 @@ for a list of environment variables that affect all debhelper commands.
It's impossible to specify filenames with spaces or other whitespace in them
in debian/links file. This is more a historical design flaw than a bug.
.SH "CONFORMS TO"
-Debian policy, version 2.5.0.0
+Debian policy, version 3.0.1
.SH AUTHOR
Joey Hess <joeyh@master.debian.org>