automake: added EXEEXT for windows support
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sat, 14 Nov 2020 22:33:04 +0000 (23:33 +0100)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sat, 14 Nov 2020 22:33:04 +0000 (23:33 +0100)
The make process fails when the excutable is called pspp on windows. I
added the EXEEXT such that pspp.exe is the target on Windows.

doc/automake.mk

index 6b8c37331a3333a1eca80800c45de40d40a4b279..a44f19f15a091a4d727d1bcf58501d5964403a57 100644 (file)
@@ -165,7 +165,7 @@ CLEANFILES += $(EXAMPLE_TXTS) $(EXAMPLE_SPVS) $(EXAMPLE_TEXIS) $(EXAMPLE_HTML)
 SUFFIXES += .sps .spv .txt .html .texi
 
 # Use pspp to process a syntax file into an output file.
-pspp = src/ui/terminal/pspp
+pspp = src/ui/terminal/pspp$(EXEEXT)
 $(EXAMPLE_SPVS): $(pspp)
 .sps.spv:
        $(AM_V_GEN)(cd $(top_srcdir)/examples \