Re: Patch for haskell-devscripts to install executables into the corresponding debian package
Joachim Breitner <nomeata@debian.org> writes:
> What is the difference between
> + cp -ax dist-ghc6/build/$${EXEC}/$${EXEC} debian/$${DEBNAME}/usr/bin/$${EXEC}; \
> and
> + install -m 755 dist-ghc6/build/$${EXEC}/$${EXEC} debian/$${DEBNAME}/usr/bin/$${EXEC}; \
IIRC, install will result in the destination being uid and gid 0 by
default, whereas -a will preserve whatever the existing ownership is.
> Note that there might be packages that install more than one executable,
> but that should all go in one package, or some binaries should go to the
> -dev package.
For example, darcs.cabal can build three binaries: "darcs", "unit" and
"witness", but only the first of these should be installed (the other
two are for testing).
Reply to: