aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2018-05-03 12:27:51 +0000
committerAndre Heinecke <[email protected]>2018-05-03 12:29:18 +0000
commit6eb80abcde5ad776379069871e4156b28ef69712 (patch)
treefbd2ae6b115a242f93407592f9b84b3086b6f064
parentPost release updates (diff)
downloadlibgpg-error-6eb80abcde5ad776379069871e4156b28ef69712.tar.gz
libgpg-error-6eb80abcde5ad776379069871e4156b28ef69712.zip
doc: Fix yat2m name for native w32 build
* doc/Makefile.am: Handle not cross compiling but building for windows. Signed-off-by: Andre Heinecke <[email protected]>
-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