Source

omy / doc / OMakefile

Full commit
.PHONY: clean

# RequireAptPackages(python-sphinx)

MODULES[]=
    OMyMakefile
    OMyExternal
    OMyTar
    OMyApt

RSTS=$(addsuffix .rst, $(MODULES)) index.rst GeneralUsage.rst

HTMLS=$(addprefix _build/html/, $(addsuffix .html, $(MODULES))) _build/html/index.html _build/html/GeneralUsage.html

.DEFAULT: $(HTMLS)

$(HTMLS): $(RSTS)
	make -f Makefile_ html

%.rst : ../% reSTOMake.py
	./reSTOMake.py $< > $@

clean:
	make -f Makefile_ clean 
	rm -f $(filter-proper-targets $(ls R, .))