Hi again,
I just had a second thought:
Julian Andres Klode wrote:
> > especially with packages maintained in VCS, it would be very helpful if
> > dh_autoreconf and dh_autoreconf_clean would support a list of additional
> > files dh_autoreconf backs up and dh_autoreconf_clean restores in
> > addition to the common files.
> >
> > It would be even better if this list of files would be read from a
> > file, lets say debian/dh_autoreconf_preserve, and that dh_autoreconf and
> > dh_autoreconf_clean look for that file by default (bug ignore if it's
> > not present).
>
> This surely sounds reasonable, but currently dh-autoreconf deletes
> files, and does not restore them. I am experimenting with switching
> to a copy-on-write approach, where I hardlink all files to a backup
> directory and then run autoreconf inside cow-shell. In cleanup, I'd
> just restore the state of the backup directory. This should fix your
> issue.
So maybe dh-autoreconf isn't the right place for that anyways.
Maybe it needs a new package called e.g. dh-backup-and-restore which
provides dh_drop_files (backups and deletes files), dh_backup_files
(just backs up files) and dh_restore_files (restores a backed up
files).
Those programs could read debian/drop_files and debian/backup_files as
file lists and copy them away, maybe into debian/backed_up_files/.
Copy and write also would be nice, but somehow sounds like being less
KISS than I'd prefer.
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]