summaryrefslogtreecommitdiff
path: root/project/config
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-02-01 22:07:18 +0000
committermidipix <writeonce@midipix.org>2020-02-01 22:24:37 +0000
commit1697f44e77c320007258f7dd7a485b6c28631026 (patch)
tree5f175b8bb1b2154d8d728be1be600909a2c714d1 /project/config
parent01ddc0383a29ec23b773b968e878c6cac5ecc2b8 (diff)
downloadbautomake-1697f44e77c320007258f7dd7a485b6c28631026.tar.bz2
bautomake-1697f44e77c320007258f7dd7a485b6c28631026.tar.xz
project: added logic for installation of (internal) m4 config files.
Diffstat (limited to 'project/config')
-rw-r--r--project/config/cfgdefs.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh
index 4cf1ebc..2e9416c 100644
--- a/project/config/cfgdefs.sh
+++ b/project/config/cfgdefs.sh
@@ -126,6 +126,17 @@ cfgdefs_output_source_lists()
>> "$mb_pwd/cfgdefs.mk"
printf '\n\n' >> "$mb_pwd/cfgdefs.mk"
+
+
+ # m4 config files
+ printf '\n\nAUTOMAKE_CFG_SOURCE_FILES = \\\n' \
+ >> "$mb_pwd/cfgdefs.mk"
+
+ printf '\t$(SOURCE_DIR)/%s \\\n' \
+ $(grep '/m4/internal/' "$mb_source_dir/$mb_manifest" \
+ | cut -d' ' -f3) \
+ >> "$mb_pwd/cfgdefs.mk"
+
}