Commit Graph

5 Commits

Author SHA1 Message Date
Teo Mrnjavac
2d64a9df00 Allow and glob multiple .conf files in module subdirectory. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
be02eca90e module.conf ==> module.desc everywhere. 2014-08-06 16:01:39 +02:00
Teo Mrnjavac
8f10c21e5b Big configuration overhaul.
Module descriptors are now module.desc, no configuration allowed inside.
Module config files are <modulename>.conf, installed in
share/calamares/modules.
settings.conf is read from /etc/calamares, then share/calamares, and if
running with --debug also in the current dir.
Module config files are read from /etc/calamares/modules, then
share/calamares/modules, and if running with --debug also in
src/modules/<modulename> relative to the current dir.
2014-08-06 11:54:45 +02:00
Aurélien Gâteau
b3ba56a829 Indeed CMake, a list is not a directory...
After testing a Python module, the build was broken because the test
created a __pycache__ dir, which CMake tried to install as a file because:

a) `if(IS_DIRECTORY foo)` requires a full path to work

b) For CMake, `IS_DIRECTORY(foo)` is not the same as `IS_DIRECTORY foo`

c) CMake is a pain sometimes
2014-07-24 10:14:42 +02:00
Teo Mrnjavac
c57d99a21c Add CalamaresAddModuleSubdirectory, a CMake function for modules that
do not require building through a CMakeLists.txt.
2014-07-14 16:26:10 +02:00