5 Commits (7c89bc87ce71bdf32b8bfe022d6becce8b372c0f)

Author SHA1 Message Date
Teo Mrnjavac 2d64a9df00 Allow and glob multiple .conf files in module subdirectory. 9 years ago
Teo Mrnjavac be02eca90e module.conf ==> module.desc everywhere. 11 years ago
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.
11 years ago
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
11 years ago
Teo Mrnjavac c57d99a21c Add CalamaresAddModuleSubdirectory, a CMake function for modules that
do not require building through a CMakeLists.txt.
11 years ago