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 /Makefile.common | |
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
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 2 |
1 files changed, 1 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 |