[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to install data directories
From: |
Ralf Wildenhues |
Subject: |
Re: how to install data directories |
Date: |
Sun, 31 Aug 2008 18:11:06 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
* Matej Tyc wrote on Sun, Aug 31, 2008 at 05:57:13PM CEST:
>
> Actually I have noticed that
> nobase_dist_foo_DATA = <files> takes care about subdirectories
> creation, which is really, really good. I suggest adding a reminder
> of this to the datafiles section in the automake manual since the
> nobase prefix is very useful for datafiles management...
Care to write a patch?
> However, either approach leaves empty directories after make
> uninstall, how come?
Two reasons: first, one cannot know whether other packages share the
directory. That could be worked around by using 'rmdir' instead of
'rm -rf', though. But secondly, the sysadmin may have pre-created
the directories using specific permissions (and owner). This
information is lost if we remove them.
This behavior is mandated by the GNU Coding Standards.
Cheers,
Ralf
- Re: how to install data directories, Eric Blake, 2008/08/29
- Re: how to install data directories, Matej Tyc, 2008/08/29
- Message not available
- Re: how to install data directories, Matej Tyc, 2008/08/29
- Re: how to install data directories, Remco Bras, 2008/08/29
- Re: how to install data directories, Matej Tyc, 2008/08/30
- Re: how to install data directories, Ralf Wildenhues, 2008/08/30
- Re: how to install data directories, Matej Tyc, 2008/08/31
- Re: how to install data directories, Ralf Wildenhues, 2008/08/31
- Re: how to install data directories, Matej Tyc, 2008/08/31
Message not available