latex-packages/doc/DIR_MAKEFILE

13 lines
238 B
Text

TOPTARGETS := all clean doc full central-doc
SUBDIRS := $(wildcard */.)
$(TOPTARGETS): $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
central-doc:
$(MAKE) -C $@ $(MAKECMDGOALS)
mv *.pdf ..
.PHONY: $(TOPTARGETS) $(SUBDIRS)