diff options
author | EuAndreh <eu@euandre.org> | 2022-01-10 16:00:10 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-01-10 16:00:23 -0300 |
commit | c6086c75dfb76a3194a9fc14d7323de3263ddf8f (patch) | |
tree | c146f475fa876a62296163385678acb51da0991a | |
parent | _plugins/generate-favicon.rb: Make the background of the PNG white (diff) | |
download | euandre.org-c6086c75dfb76a3194a9fc14d7323de3263ddf8f.tar.gz euandre.org-c6086c75dfb76a3194a9fc14d7323de3263ddf8f.tar.xz |
TODOs.md: Add #td-ca621da2-2e94-ae6f-0e3d-db744c00a656
-rw-r--r-- | TODOs.md | 41 |
1 files changed, 41 insertions, 0 deletions
@@ -1,5 +1,46 @@ # Tasks +## TODO Send patch to upstream `bmake` for bug on `$*` macro {#td-ca621da2-2e94-ae6f-0e3d-db744c00a656} +- TODO in 2021-11-21 + +--- + +From the standard: + +```txt +$* The $* macro shall evaluate to the current target name with its suf‐ + fix deleted. It shall be evaluated at least for inference rules. + + For example, in the .c.a inference rule, $*.o represents the out-of- + date .o file that corresponds to the prerequisite .c file. +``` + +Given the Makefile: + +```makefile +.POSIX: + +.SUFFIXES: .x .y + +.x.y: + cp $< $*.y + +all: a/b.y +``` + +`bmake` works correctly without flags, but behaves incorrectly with `-j1`: + +```shell +$ mkdir a && touch a/b.x +$ make -j1 +cp a/b.x b.y +$ make +cp a/b.x a/b.y +``` + +This impacts the upcoming `lilypond -o $name` command in the Makefile. + + ## TODO Move content into `src/content/`, `bin/` into `src/bin/` {#td-f9b510c0-c2c5-638e-e00f-3bbd35de31d9} - TODO in 2022-01-10 |