On Tue, 20 Feb 2001, Joey Hess wrote:
> Jochen Voss wrote:
> > I have a question about debhelper:
> > I try to pack a package which has multiple README files,
> > scattered over several sub-directories.
> > README
> > foo/README
> > bar/README
> > My plan is to install them in the doc directory as
> > doc/README
> > doc/README.foo
> > doc/README.bar
> > Is there a way to do this with debhelper (dh_installdocs)?
> > Or should I copy them manually.
>
> Unfortunatly dh_installdocs doesn't handle this well.
Here is my suggestion (as I am currently in the NM-queue any comments are
greatly appreciated):
In debian/rules create a temporary doc (it should not be in the source
already) and copy the files into that directory. Then you can install the
directory with debhelper like that:
dh_installdocs doc
The copying could be done quite easily with a little makefile magic:
files=foo/README bar/README
all: $(files)
%/README:
echo cp $@ doc/$(@F).$(@D)
--
Manfred Wassmann
PGP and GnuPG public keys available at http://germany.keyserver.net
PGP: 24B81049 Fingerprint: D7 10 EE 2B 74 16 C0 64 B4 5F BA B2 90 29 3D AF
GPG: 6B299971 Fingerprint: A598 A41F 57A3 5D69 83D2 8027 1274 F8CD 6B29 9971
+++ I18N ? For international language set LANG=POSIX +++
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]