(all-local): Append $(EXEEXT) to use of `su'
authorJim Meyering <jim@meyering.net>
Wed, 19 Mar 2003 23:17:12 +0000 (23:17 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 19 Mar 2003 23:17:12 +0000 (23:17 +0000)
(install-root): Likewise.
(install-exec-local): Likewise.

src/Makefile.am

index 3c230bfe2ad079199cc3728c1968af1ff3e410ca..1d1fcaf80e379b4a59267cf4fccebd6559054895 100644 (file)
@@ -83,7 +83,7 @@ SUFFIXES = .sh
        chmod +x $@-t
        mv $@-t $@
 
-all-local: su
+all-local: su$(EXEEXT)
 
 installed_su = $(DESTDIR)$(bindir)/`echo su|sed '$(transform)'`
 
@@ -98,10 +98,10 @@ INSTALL_SU = \
   echo " chmod $(setuid_root_mode) $(installed_su)"; \
   chmod $(setuid_root_mode) $(installed_su)
 
-install-root: su
+install-root: su$(EXEEXT)
        @$(INSTALL_SU)
 
-install-exec-local: su
+install-exec-local: su$(EXEEXT)
        @TMPFILE=$(DESTDIR)$(bindir)/.su-$$$$; \
        rm -f $$TMPFILE; \
        echo > $$TMPFILE; \