Skip to content

Commit ce314ea

Browse files
committed
docs/Makefile: Ensure PRJ_TARGET is passed to GPRbuild.
Fix compilation error while building documentation.
1 parent 3eb67d3 commit ce314ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ $(RESDIR):
8989
build-sample:
9090
$(GPRBUILD) -p -m -Pdocs $(EXEFILES) \
9191
--subdirs=$(SDIR)/static \
92-
$(foreach v,PRJ_BUILD TARGET VERSION,"-X$(v)=$($(v))")
92+
$(foreach v,PRJ_TARGET PRJ_BUILD TARGET VERSION,"-X$(v)=$($(v))")
9393

9494
# Executable and result will be removed with BUILDDIR.
9595

0 commit comments

Comments
 (0)