summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndre Heinecke <aheinecke@intevation.de>2018-05-03 14:27:51 +0200
committerAndre Heinecke <aheinecke@intevation.de>2018-05-03 14:29:18 +0200
commit6eb80abcde5ad776379069871e4156b28ef69712 (patch)
treefbd2ae6b115a242f93407592f9b84b3086b6f064 /doc
parent1a5235083013da96cf4cac361cc60011029ad0cc (diff)
downloadlibgpg-error-6eb80abcde5ad776379069871e4156b28ef69712.tar.gz
doc: Fix yat2m name for native w32 build
* doc/Makefile.am: Handle not cross compiling but building for windows. Signed-off-by: Andre Heinecke <aheinecke@intevation.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 76af5be..6f3e5a1 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -49,10 +49,15 @@ CLEANFILES += yat2m-for-build
yat2m-for-build: yat2m.c
$(CC_FOR_BUILD) -o $@ $(srcdir)/yat2m.c
else
+if HAVE_W32_SYSTEM
+YAT2M_CMD = ./yat2m.exe
+YAT2M_DEP = yat2m.exe
+else
YAT2M_CMD = ./yat2m
YAT2M_DEP = yat2m
endif
endif
+endif
yat2m-stamp: $(myman_sources) $(srcdir)/version.texi
@rm -f yat2m-stamp.tmp