Project Info Name.......: gnu-hello
Description: GNU Hello


gnu-hello       
Info
Commit...:fd9ce3c6ff7636fb745a0b5fcc999e0d09d13a49
Author...:Collin Funk
Committer:Reuben Thomas
Date.....:Sat Jul 12 12:28:29 2025 -0700
Parents..:56110fb1bbc455de5d0e643732468e2eee09890b

Message
build: fix build on platforms with non-empty $(EXEEXT)

* Makefile.am (hello.1): Add $(EXEEXT) to the 'hello' program dependency
and invocation.
* .gitignore (*.exe): Add entry.

Changes
diff --git a/.gitignore b/.gitignore
line changes: +1/-1
index 65b5ec7..c304674
--- a/.gitignore
+++ b/.gitignore
@@ -3,7 +3,7 @@
 *.[oa]
 *.cache
 .dirstamp
-
+*.exe
 /.sc-start-sc*
 /aclocal.m4
 /ChangeLog

diff --git a/Makefile.am b/Makefile.am
line changes: +2/-2
index 3d9a9d7..1a0ee0f
--- a/Makefile.am
+++ b/Makefile.am
@@ -56,8 +56,8 @@ EXTRA_DIST += $(man_MANS)
 endif
 
 if BUILD_FROM_GIT
-hello.1: hello
-	$(HELP2MAN) --include=$(top_srcdir)/man/hello.x $(top_builddir)/hello -o $@-t
+hello.1: hello$(EXEEXT)
+	$(HELP2MAN) --include=$(top_srcdir)/man/hello.x $(top_builddir)/hello$(EXEEXT) -o $@-t
 	chmod a=r $@-t
 	mv -f $@-t $@
 

This website is licensed under AGPL-3.0. Feel free to copy!