BUILD: Fix converting the documentation outside the source directory

This commit is contained in:
Cameron Cawley 2019-05-18 14:02:25 +01:00
parent 95d4678de7
commit a265b1e029
2 changed files with 2 additions and 1 deletions

View file

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

1
configure vendored
View file

@ -5706,6 +5706,7 @@ vpath %.asm \$(srcdir)
vpath %.s \$(srcdir)
vpath %.S \$(srcdir)
vpath %.rc \$(srcdir)
vpath %.md \$(srcdir)
include \$(srcdir)/Makefile
EOF