Skip to content

Commit 1c2987d

Browse files
committed
makefile update
1 parent bc9fab9 commit 1c2987d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

languages/compiled/makefile/self.org

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,9 @@ https://www.gnu.org/software/make/manual/html_node/Text-Functions.html
227227
| findstring | needle,text | find |
228228
| filter | pat%...,text | remove |
229229
| filter-out | pat%...,text | remove-if-not |
230-
| sort | text | sort+dedup |
231-
| strip | text | trim and squash whitespaces |
232-
| subst | from,to,text | literal substitution |
230+
| sort | text | sort¦uniq |
231+
| strip | text | trim and squeeze whitespaces |
232+
| subst | from,to,text | s/from/to/ |
233233
| patsubst | pat,repl,text | pattern% substitution, text can use * |
234234
|------------+---------------+---------------------------------------|
235235
*** filenames
@@ -310,6 +310,7 @@ $(THUMBS): %.thumb.jpg: %.jpg
310310
* gotchas
311311

312312
- [[https://stackoverflow.com/questions/9838384/can-gnu-make-handle-filenames-with-spaces][no support for filenames with spaces]]
313+
- filenames with ~:~ must be escaped (aka "multiple target patterns. Stop." error)
313314
- ~=~ assignment is perpetually evaluated (aka a macro definition)
314315
- ~$~ needs to be always escaped with ~$$~ to be sent to commands as such
315316
- ~\t~ for indentation, NOT spaces

0 commit comments

Comments
 (0)