Skip to content

Commit

Permalink
Merge pull request #464 from andralex/clone
Browse files Browse the repository at this point in the history
Fix bug in .cloned target
  • Loading branch information
MartinNowak committed Dec 31, 2013
2 parents badd566 + 8c9a8da commit b4d28ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions posix.mak
Expand Up @@ -247,17 +247,17 @@ $(DOC_OUTPUT_DIR)/dlangspec.pdf : dlangspec.dvi
# Git clone rules
################################################################################

# HEAD
../%/.cloned :
[ -d $(@D) ] || git clone ${GIT_HOME}/$* $(@D)/
touch $@

# LATEST
../%-${LATEST}/.cloned :
[ -d $(@D) ] || git clone ${GIT_HOME}/$* $(@D)/
if [ -d $(@D)/.git ]; then cd $(@D) && git checkout v${LATEST}; fi
touch $@

# HEAD
../%/.cloned :
[ -d $(@D) ] || git clone ${GIT_HOME}/$* $(@D)/
touch $@

################################################################################
# dmd compiler, latest released build and current build
################################################################################
Expand Down

0 comments on commit b4d28ec

Please sign in to comment.