Scott Talbert writes ("Re: Does debhelper prune empty directories?"):
> On Fri, 19 Jul 2019, Scott Talbert wrote:
> > I'm working on a package where I have a directory tree listed in the 
> > 'install' file with a destination directory.  This source directory tree 
> > has 
> > a few empty subdirectories in it.  Somehow during the build process, these 
> > empty subdirectories are disappearing.  Does debhelper prune empty 
> > subdirectories?  If so, is there a way to avoid that?
> >
> > What's strange is that this only seems to be happening in the main package. 
> > I have a subpackage which does a similar operation, but it's empty 
> > directories seem to be preserved.
> 
> I have narrowed it down - it seems to be dh_python2 that is removing the 
> empty directories.  Perhaps I should take my question to debian-python.

Empty directories are not representable in git.  So I (and other git
users) would appreciate it if you would make your package not contain
them, or at least still build if they are removed.

I consider this a bug in git but my git Stockholm syndrome means I am
asking you to work around it in your package.  Sorry.

Ian.

-- 
Ian Jackson <ijack...@chiark.greenend.org.uk>   These opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.

Reply via email to