chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1ecbe8
)
example bundle: sed - into the src_file_spec field in duped toml
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 22 May 2021 19:48:51 +0000
(20:48 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 22 May 2021 20:29:56 +0000
(21:29 +0100)
We are going to interpret this as a source file name.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 7428dc503ea9d55369d7623250b01e71c2462aa1..0d285084b4258f98126dffd73e5da3e4d59e6eb0 100644
(file)
--- 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 \