From c45d6dad0f9eff2253fb94a3c41f95445a5de150 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Mon, 26 Dec 2011 17:28:51 -0500 Subject: Properly install directories --- dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dm b/dm index 83b909e..36d6bbe 100755 --- a/dm +++ b/dm @@ -100,7 +100,7 @@ FORCE: build/%: % $(SUBSTS_FILE) [ -d $(dir $@) ] || mkdir -p $(dir $@) - rsync -a $< $@ + ( [ -d $< ] && rsync -a $<* $@ ) || rsync -a $< $@ @# sed will only be called if $* is in LOCAL_FILES. @# Thought of using ifeq/ifneq, but the gmake manual reads: @# "make evaluates conditionals when it reads a makefile. Consequently, -- cgit v1.2.3