efl/data
Mike Blumenkrantz b83da71d89 build: move config/ to data/elementary/config
Summary:
this is part of the datadir distribution, it should not be in a different
directory than the rest of the datadir distribution

the gnu coding standards (https://www.gnu.org/prep/standards/html_node/Directory-Variables.html)
define 'datadir' as:

The directory for installing idiosyncratic read-only architecture-independent
data files for this program. This is usually the same place as ‘datarootdir’,
but we use the two separate variables so that you can move these program-specific
files without altering the location for Info files, man pages, etc.

This should normally be /usr/local/share, but write it as $(datarootdir).
(If you are using Autoconf, write it as ‘@datadir@’.)

The definition of ‘datadir’ is the same for all packages, so you should install your
data in a subdirectory thereof. Most packages install their data under $(datadir)/package-name/.

while this text has no clear requirement or suggestion for a corresponding
repository layout, projects typically employ a certain consistency in their
repository layout both for ease of maintenance and ease of learning for new
contributors.

this project has both a data/ directory, which contains the datadir distribution,
as well as the config/ directory, which also contains the datadir distribution.
this complicates matters both for active maintainers/developers who must
remember that the repository and build tree layouts have this exception,
and for new contributors who will initially be confused by this exception

other well-organized open source projects, such as wayland, have chosen to not
use a data/ directory. these projects have the datadir distribution in the base
directory of the repositor, which is a fine practice as it maintains consistency
for the project since all the files for the datadir distribution are in the same
directory.

by applying this patch, the project will move towards a more easily readable and
learnable layout. current and future developers will no longer need to wonder why
this directory is outside of the data/ directory, and anyone attempting to reference
these files from the source/build trees will be able to do so more easily

Reviewers: cedric, stefan_schmidt, raster

Reviewed By: stefan_schmidt, raster

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6013
2018-05-14 18:26:21 +02:00
..
coverity coverity: add modeling file to reduce false positives. 2016-12-19 11:09:02 -02:00
ecore Spelling fixes 2015-03-18 21:38:33 -04:00
ecore_imf efl: make libraries aware of EFL_RUN_IN_TREE. 2013-01-04 17:19:43 +00:00
ecore_x ecore x vsync animator support - add a glx based vsync ticker 2014-07-28 23:00:34 +09:00
edje edje - add embryo echo command for debugging 2017-08-05 14:47:25 +09:00
eeze efl: make libraries aware of EFL_RUN_IN_TREE. 2013-01-04 17:19:43 +00:00
efreet efl/efreet: use eina_prefix, kill one TODO item. 2013-01-04 17:42:23 +00:00
elementary build: move config/ to data/elementary/config 2018-05-14 18:26:21 +02:00
elua elua: add checkme 2014-12-11 16:41:24 +00:00
embryo embryo: add tzdate function 2016-02-22 18:29:01 -05:00
emotion my brain farted. 2013-01-12 04:00:34 +00:00
eo Eo gdb: Add workaround for gdb oddities. 2016-12-08 11:19:51 +00:00
ethumb fix frame handling. 2013-01-12 04:32:13 +00:00
ethumb_client fix directory structure: move ethumd_client out of ethumb. 2013-01-15 18:10:58 +00:00
evas merge: and now Evas 2012-11-04 11:51:42 +00:00
.gitignore Split .gitignore into multiple files 2013-06-11 18:18:50 -03:00
Makefile.am build: move config/ to data/elementary/config 2018-05-14 18:26:21 +02:00