diff --git a/test/tutorial/Makefile.am b/test/tutorial/Makefile.am index 717141fa..3aba5e59 100644 --- a/test/tutorial/Makefile.am +++ b/test/tutorial/Makefile.am @@ -2,7 +2,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src all-local: $(noinst_PROGRAMS) - for x in $(noinst_PROGRAMS); do \ + for x in $(noinst_PROGRAMS:%$(EXEEXT)=%); do \ test x$(MAKE_FSELF) = xno || make_fself $${x}$(EXEEXT) $${x}.self; \ done