chiark / gitweb /
Makefile: tidy bundle output
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 17 May 2021 16:27:25 +0000 (17:27 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 17 May 2021 16:27:25 +0000 (17:27 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile

index 5deee2649bc83ffbcc48eeccc575219b6a6a6b11..aa62872028bca4f07c264442d7d2d17cbd02738d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -340,17 +340,22 @@ examples/big-bundle.zip: ZIP_INPUTS=.
 examples/big-bundle/otter.toml: $(LIBRARY_FILES) $(MAKEFILE_DEP)
        rm -rf examples/big-bundle
        mkdir examples/big-bundle examples/big-bundle/library
-       set -e; for l in $(LIBRARIES); do \
+       @set -e; echo 'MKDIR for $@'; \
+       for l in $(LIBRARIES); do \
                mkdir examples/big-bundle/$$l; \
                perl -p \
  -e 'BEGIN { print "# -- AUTOGENERATED FROM COPY IN OTTER SOURCE --\n" }' \
  -e 'next unless m/^\[scraper]/..0; next if m/^\[(?!scraper)/..0; s/^/\#/' \
                        <$$l.toml >examples/big-bundle/$$l.toml; done
-       set -e; for e in $(LIBRARY_FILE_INPUTS); do \
-               ln $${e#*:} examples/big-bundle/$${e%%.usvg:*}.svg; done
-       set -ex; cd examples/big-bundle/library/; for x in '' .toml; do \
+       @set -e; echo 'LN for $@'; \
+       for e in $(LIBRARY_FILE_INPUTS); do \
+               ln $${e#*:} examples/big-bundle/$${e%%.usvg:*}.svg; done;
+       @set -e; echo 'MV for $@'; \
+       cd examples/big-bundle/library/; for x in '' .toml; do \
                mv wikimedia$$x duped-example$$x; done
-       echo 'title = "Autogenerated large test bundle"' >$@.tmp
+       @set -e; echo 'ECHO for $@'; \
+       echo 'title = "Autogenerated test bundle - do not distribute"' \
+               >$@.tmp
        mv -f $@.tmp $@
 
 #---------- webdriver tests (wdt) ----------