diff options
author | joey <joey> | 1999-09-06 05:47:41 +0000 |
---|---|---|
committer | joey <joey> | 1999-09-06 05:47:41 +0000 |
commit | 37c69d4e7124fb03edf46bea4eb38f6721f2aa2a (patch) | |
tree | 2ab81f9330d3cb5b01d3600ec41d1f1988b17f68 /dh_link.1 | |
parent | da7d6c32c080678dc672f7c6e680c11569f46eda (diff) | |
download | debhelper-37c69d4e7124fb03edf46bea4eb38f6721f2aa2a.tar.gz |
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.1 | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -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> |