Joachim Breitner <[email protected]> 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).


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to