[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [rfc] Policy: -dev packages should touch all .h in postinst



>>>>> "Wichert" == Wichert Akkerman <wichert@cistron.nl> writes:

    Wichert> Previously Karl M. Hegbloom wrote:

    >> I would like to discuss implementing Debian Policy with a rule saying
    >> that -dev packages must `touch' all installed *.h and *.m4 (etc)
    >> files in the postinst, so that any source builds that generate
    >> auto-dependancies will see the new -dev headers as fresh, and thus
    >> regenerate their .deps/* ?

    Wichert> Ewwwwwwwww. Most people don't include system includes in their
    Wichert> .deps list anyway which would make this a useless change.

 Why is that?  Wouldn't you want your .dep/*'s to get rebuilt in case
 something is changed in the new *.h's from the -dev package?
 Couldn't it cause trouble if something changed?

    >> I've a couple of questions now... should installed files reflect the
    >> build time or the install time?

    Wichert> build time.

    >> Does `dpkg' and our packaging setups preserve timestamps?

    Wichert> dpkg uses the time as used inside the package.

 Ok.  That is what I would expect it to do.



Reply to: