Control: retitle -1 dh_install: man page should mention dh_exec for renamings
Hi,
Gergely Nagy wrote:
> >> Subject: dh_install: no way to rename files while installing
> >
> > Yep, that's a little bit annoying, so I herewith second this wishlist
> > bug report. :-)
>
> For what its worth, this can already be easily solved if you use dh >= 9
> and dh-exec. Just make your .install file executable, add
> #!/usr/bin/dh-exec to the top, and you can use "source => dest", like
> this:
>
> #!/usr/bin/dh-exec
> debian/default.conf => /etc/my-package/start.conf
Yay! Thanks for that pointer, I didn't know that.
Maybe debhelper should suggest dh-exec like it does with dh-make? At
least it should mention it in the dh_install man-page.
> All of these are trivial to solve with dh-exec, and it is already in the
> archive!
Perfect. Retitling this bug report then. Thanks again for the pointer.
Regards, Axel
--
,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]