[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: installing Emacs touches all files under $(DESTDIR)${datadir}/emacs
From: |
Chong Yidong |
Subject: |
Re: installing Emacs touches all files under $(DESTDIR)${datadir}/emacs |
Date: |
Mon, 27 Nov 2006 10:42:49 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
"Chris Moore" <address@hidden> writes:
> I package Emacs into a .deb archive using the "checkinstall" tool.
>
> "checkinstall" runs "make install" and watches which files get modified as a
> result, then packages those files up into a .deb file.
>
> Recently, when the Emacs version number went up from 22.0.90 to 22.0.91 I
> noticed that the size of the .deb package which checkinstall was producing
> approximately doubled in size.
>
> It turns out that the Emacs Makefile is running a "chmod -R a+r" on the whole
> $
> (DESTDIR)${datadir}/emacs directory, rather than restricting the chmod to just
> $(DESTDIR)${datadir}/emacs/${version}. This causes checkinstall to think that
> both the old 22.0.90 and the new 22.0.91 files are part of the new install.
>
> Changing the 'chmod' command like this fixes it for me:
Your patch looks reasonable to me. I've checked it in; thanks.