windows: EXEEXT was at wrong place
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Mon, 16 Nov 2020 20:35:00 +0000 (21:35 +0100)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Mon, 16 Nov 2020 20:35:00 +0000 (21:35 +0100)
The EXEXT must only be in the dependency but not in the executable.

doc/automake.mk

index e18086331f6f975d44434b297983fb860e5d8129..9f801bc8accbf3c17b41b6fef7101706f4c29a4e 100644 (file)
@@ -167,8 +167,8 @@ CLEANFILES += $(EXAMPLE_TXTS) $(EXAMPLE_SPVS) $(EXAMPLE_TEXIS) $(EXAMPLE_HTML)
 SUFFIXES += .sps .spv .txt .html .texi .pdf
 
 # Use pspp to process a syntax file into an output file.
-pspp = src/ui/terminal/pspp$(EXEEXT)
-$(EXAMPLE_SPVS): $(pspp)
+pspp = src/ui/terminal/pspp
+$(EXAMPLE_SPVS): $(pspp)$(EXEEXT)
 .sps.spv:
        $(AM_V_GEN)(cd $(top_srcdir)/examples \
          && $(abs_top_builddir)/$(pspp) ../doc/examples/$(<F) -o - -O format=spv) > $@.tmp