]> jfr.im git - yt-dlp.git/commit
Bugfix for beaa1a44554d04d9fe63a743a5bb4431ca778f28 (#9235)
authorbashonly <redacted>
Sat, 17 Feb 2024 21:23:54 +0000 (15:23 -0600)
committerGitHub <redacted>
Sat, 17 Feb 2024 21:23:54 +0000 (21:23 +0000)
commit73fcfa39f59113a8728249de2c4cee3025f17dc2
treefae84b4b81aca23b3017cdca41c9c457118ae787
parent41d6b61e9852a5b97f47cc8a7718b31fb23f0aea
Bugfix for beaa1a44554d04d9fe63a743a5bb4431ca778f28 (#9235)

[build:Makefile] Restore compatibility with GNU Make <4.0

- The != variable assignment operator is not supported by GNU Make <4.0
- $(shell) is a no-op in BSD Make, assigns an empty string to the var
- Try to assign with != and fallback to $(shell) if not assigned (?=)

- Old versions of BSD find have different -exec behavior
- Pipe to `sed` instead of using `find ... -exec dirname {}`

- BSD tar does not support --transform, --owner or --group
- Allow user to specify path to GNU tar by passing GNUTAR variable

- pandoc vars are immediately evaluated with != in gmake>=4 and bmake
- Suppress stderr output for pandoc -v in case it is not installed
- Use string comparison instead of int comparison for pandoc version

Authored by: bashonly
Makefile