From 30230e0339f0537f478b37dcba967f3951024b55 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 22 May 2021 20:48:51 +0100 Subject: [PATCH] example bundle: sed - into the src_file_spec field in duped toml We are going to interpret this as a source file name. Signed-off-by: Ian Jackson --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 7428dc50..0d285084 100644 --- a/Makefile +++ b/Makefile @@ -347,6 +347,7 @@ examples/big-bundle/otter.toml: $(LIBRARY_FILES) $(MAKEFILE_DEP) perl -p \ -e 'BEGIN { print "# -- AUTOGENERATED FROM COPY IN OTTER SOURCE --\n" }' \ -e 'if (m/^\[scraper]/..0) { unless (m/^\[(?!scraper)/..0) { s/^/\#/ } }' \ + -e 's/(?<=\s)\w\S*(?=\s)/-/ if m/^files = """/..m/^"""/;' \ <$$l.toml >examples/big-bundle/$$l.toml; done @set -e; echo 'LN for $@'; \ for e in $(LIBRARY_FILE_INPUTS); do \ -- 2.30.2