aboutsummaryrefslogtreecommitdiffstats
path: root/.parse-deps
Commit message (Collapse)AuthorAgeFilesLines
* fix .parse-deps when input spans multiple linesTomasz Kramkowski2021-08-051-2/+4
| | | | | | | | | | | | | | | | | | | | | | | .parse-deps breaks when inputs such as the following are passed: foo.o: \ foo.c \ foo.h There's 3 issues: 1. The first \ wouldn't be folded as the space prior to the \ would be removed by the removal of the target name. 2. Extra spaces would end up in front of every name in the final output. 3. \n in the pattern of the s command is not portable to non-gnu-sed. The new version's folding loop: 1. Removes any double forward slashes currently present in the pattern space. 2. Adds a double forward slash at the end of the line. 3. Removes the backslash, double forward slash, character following it (newline) and any spaces following that character. This solves all three problems.
* .parse-depfile -> .parse-deps - as it's no longer used with filesTomasz Kramkowski2021-07-221-0/+15