2010-01-18 01:38:52 -08:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
|
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 08:26:06 -07:00
|
|
|
include ../../../../src/Makefile_Eet_Helper.am
|
2010-01-18 01:38:52 -08:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
profile.desktop \
|
|
|
|
icon.png \
|
2014-06-11 13:35:25 -07:00
|
|
|
base.src.in
|
2010-01-18 01:38:52 -08:00
|
|
|
|
|
|
|
filesdir = $(datadir)/elementary/config/default
|
|
|
|
files_DATA = \
|
|
|
|
profile.desktop \
|
|
|
|
icon.png \
|
2014-06-11 13:35:25 -07:00
|
|
|
base.cfg
|
2010-01-18 01:38:52 -08:00
|
|
|
|
2016-05-16 09:25:43 -07:00
|
|
|
%.cfg: %.src
|
2016-03-30 14:14:58 -07:00
|
|
|
$(AM_V_EET) \
|
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 08:26:06 -07:00
|
|
|
$(MKDIR_P) $(top_builddir)/data/elementary/config/default/; \
|
|
|
|
$(EET) -e $(top_builddir)/data/elementary/config/default/$@ config $< 1
|
2010-01-18 01:38:52 -08:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -rf *.cfg *~
|
2011-06-11 00:36:37 -07:00
|
|
|
|