From: Ian Jackson Date: Sat, 22 May 2021 19:48:51 +0000 (+0100) Subject: example bundle: sed - into the src_file_spec field in duped toml X-Git-Tag: otter-0.6.0~65 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=30230e0339f0537f478b37dcba967f3951024b55;p=otter.git 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 --- 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 \