mirror of
https://github.com/NixOS/nix
synced 2025-07-07 22:33:57 +02:00
Make it work on GNU Make > 3.81 again
This commit is contained in:
parent
79f699edca
commit
7bef965d6f
4 changed files with 8 additions and 8 deletions
|
@ -11,4 +11,4 @@ filename-to-dep = $(dir $1).$(notdir $1).dep
|
|||
find-program = $(shell for i in $$(IFS=: ; echo $$PATH); do p=$$i/$(strip $1); if [ -e $$p ]; then echo $$p; break; fi; done)
|
||||
|
||||
# Remove trailing slash.
|
||||
remove-trailing-slash = $(patsubst %/,%,$(1))
|
||||
add-trailing-slash = $(patsubst %/,%,$(1))/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue