Revision 4602
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/common.Makefile | ||
---|---|---|
23 | 23 |
# Filesystem |
24 | 24 |
wildcard/ = $(shell echo $(1)|grep -vF '*')# emulate `shopt -s nullglob` |
25 | 25 |
# needed because builtin $(wildcard) doesn't do / suffix correctly |
26 |
no/ = $(1:/=)# remove trailing / |
|
26 | 27 |
CP := cp -p |
27 | 28 |
cp = $(CP) $< $@ |
28 | 29 |
|
Also available in: Unified diff
lib/common.Makefile: Added $(no/) to remove trailing /