install: Place the configuration sources in the right directory

Normally, the `config` installables are intended for configuration files.
For `make-it-quick`, we override it for `.c` files that we will place under the
`config/` directory under `make-it-quick`.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
This commit is contained in:
Christophe de Dinechin 2021-11-26 17:18:58 +01:00
parent ba8ffb4920
commit e690660b74
1 changed files with 6 additions and 2 deletions

View File

@ -51,6 +51,12 @@ WARE.config=$(wildcard config/check*.c)
WARE.doc= README.md AUTHORS NEWS
TESTS=example/
# Install the check*.c files as data, under prefix/include
# We override the 'config' installable for config sources,
# whereas for most packages, it is for configuration files.
PACKAGE_DIR.config=$(PACKAGE_DIR)config/
PREFIX.config=$(PREFIX.header)
# Make sure we generate the config.system
MIQ_MAKEFILE_INSTALL=yes
@ -58,8 +64,6 @@ MIQ=./
-include configured.mk
include $(MIQ)rules.mk
# Install the check*.c files as data
INSTALL.config=$(INSTALL.data)
# Generation of the system setup file
SYSTEM_SETUP= \