#underlays = basewiki smiley templates underlays = templates #locale = danish master = master #master = master-LOCALE all: $(underlays) $(underlays): mkdir $@ cd $@ && git init cd $@ && git remote add -f -t $(master:LOCALE=$(locale)) -m $(master:LOCALE=$(locale)) origin http://source.jones.dk/golearn_$@.git cd $@ && git merge origin