Added PDF documentation to dist.mak

This commit is contained in:
Vas Crabb 2022-01-12 05:43:41 +11:00
parent 3184beda90
commit c0e9307623

View file

@ -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