Source

landslide-example / Makefile

# Makefile like sphinx output

SRC =  python.rst
DST =  html
ifndef BUILDDIR
BUILDDIR=.
endif

all: html

html:
	mkdir -p $(BUILDDIR)/$(DST)
	-landslide $(SRC) -o > $(BUILDDIR)/$(DST)/index.html

clean:
	rm -fr $(BUILDDIR)/$(DST)