summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 0931c4ee9..551d115b8 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -46,6 +46,7 @@ CGI_GID= @CGI_GID@
OPT= @OPT@
CFLAGS= $(OPT) $(DEFS)
CGIDIR= $(exec_prefix)/cgi-bin
+CGIEXT= @CGIEXT@
MAILDIR= $(exec_prefix)/mail
SHELL= /bin/sh
@@ -99,8 +100,9 @@ common.o: $(srcdir)/common.c $(srcdir)/common.h
install: all
for f in $(CGI_PROGS); \
do \
- $(INSTALL_PROGRAM) $$f $(CGIDIR); \
- chmod g+s $(CGIDIR)/$$f; \
+ exe=$(CGIDIR)/$$f$(CGIEXT); \
+ $(INSTALL_PROGRAM) $$f $$exe; \
+ chmod g+s $$exe; \
done
for f in $(MAIL_PROGS); \
do \