diff options
author | Cameron Cawley | 2019-05-18 14:02:25 +0100 |
---|---|---|
committer | Cameron Cawley | 2019-05-18 14:02:25 +0100 |
commit | a265b1e029f6bba251d0d1f70f782a301f9021cd (patch) | |
tree | 86aee75d12891f43883c6b2d8fa7af7ef6ba40b3 | |
parent | 95d4678de78f7c09b247161811660cefea1d24c5 (diff) | |
download | scummvm-rg350-a265b1e029f6bba251d0d1f70f782a301f9021cd.tar.gz scummvm-rg350-a265b1e029f6bba251d0d1f70f782a301f9021cd.tar.bz2 scummvm-rg350-a265b1e029f6bba251d0d1f70f782a301f9021cd.zip |
BUILD: Fix converting the documentation outside the source directory
-rw-r--r-- | Makefile.common | 2 | ||||
-rwxr-xr-x | configure | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common index d937536fc7..78e0d6e423 100644 --- a/Makefile.common +++ b/Makefile.common @@ -237,7 +237,7 @@ VERFILE := $(DISTDIR)/$(DISTNAME)/base/internal_version.h ifdef USE_PANDOC # Convert README.md and NEWS.md to plain text for any platform that might require it -%$(PANDOCEXT): ${srcdir}/%.md +%$(PANDOCEXT): %.md $(QUIET)$(MKDIR) $(*D) $(QUIET_PANDOC)$(PANDOC) -f gfm -t $(PANDOCFORMAT) --metadata pagetitle=$(basename $(notdir $@)) -s -o $@ $< endif @@ -5706,6 +5706,7 @@ vpath %.asm \$(srcdir) vpath %.s \$(srcdir) vpath %.S \$(srcdir) vpath %.rc \$(srcdir) +vpath %.md \$(srcdir) include \$(srcdir)/Makefile EOF |