Source

cointoss1973.bitbucket.org / Makefile

Full commit
# Makefile for http://cointoss1973.bitbucket.org/

.PHONY: clean

BUILDDIR = tmp
#REPOS = thg/doc landslide-example
REPOS = landslide-example
REPOROOT = src

all:
	@for repo in $(REPOS); do \
		(cd $(REPOROOT)/$$repo && make html BUILDDIR=$(BUILDDIR) ) ;\
		rm -fr $$repo; \
		cp -pr $(REPOROOT)/$$repo/$(BUILDDIR)/html $$repo; \
		echo Done $$repo; \
	done

clean:
	rm -fr $(REPOS)