even better, yes good
This commit is contained in:
parent
d5f3178fe5
commit
c4412f7a15
4
Makefile
4
Makefile
@ -3,11 +3,11 @@ TARGETS := $(patsubst %,$(HOME)/.%,$(SOURCES))
|
|||||||
|
|
||||||
|
|
||||||
$(HOME)/.%: %
|
$(HOME)/.%: %
|
||||||
if [ -f '$^' ] ; then \
|
@(if [ -f '$^' ] ; then \
|
||||||
cp -v '$^' '$@' ; \
|
cp -v '$^' '$@' ; \
|
||||||
elif [ -d '$^' ] ; then \
|
elif [ -d '$^' ] ; then \
|
||||||
mkdir -p '$@' ; \
|
mkdir -p '$@' ; \
|
||||||
fi
|
fi)
|
||||||
|
|
||||||
|
|
||||||
all: $(TARGETS)
|
all: $(TARGETS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user