mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
Add support for using a build directory
This commit is contained in:
parent
afbdd55334
commit
075cfe3b97
5 changed files with 21 additions and 8 deletions
|
@ -10,5 +10,5 @@ filename-to-dep = $(dir $1).$(notdir $1).dep
|
|||
# empty string if not found.
|
||||
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.
|
||||
# Ensure that the given string ends in a single slash.
|
||||
add-trailing-slash = $(patsubst %/,%,$(1))/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue