diff --git a/dist.mak b/dist.mak index c378dfdf708..edbb4cd67cb 100644 --- a/dist.mak +++ b/dist.mak @@ -109,7 +109,7 @@ GEN_FOLDERS := $(addprefix $(STAGEDIR)/,$(CREATED_DIRS)) COPY_BINARIES := $(addprefix $(STAGEDIR)/,$(addsuffix $(EXE),$(BINARIES))) COPY_FILES := $(addprefix $(STAGEDIR)/,$(COPIED_FILES)) -all: $(COPY_BINARIES) $(COPY_FILES) +all: $(COPY_BINARIES) $(COPY_FILES) $(STAGEDIR)/docs/MAME.pdf clean: $(SILENT) rm -rf $(STAGEDIR) @@ -124,4 +124,10 @@ $(STAGEDIR)/%: $(BINDIR)/% | $(GEN_FOLDERS) $(STAGEDIR)/%: % | $(GEN_FOLDERS) $(call COPY,$<,$@) +$(STAGEDIR)/docs/MAME.pdf: docs/build/latex/MAME.pdf | $(GEN_FOLDERS) + $(call COPY,$<,$@) + +docs/build/latex/MAME.pdf: + $(MAKE) -C docs latexpdf + .PHONY: all clean