From 142d788e222515d96b650a8069980898f960bad8 Mon Sep 17 00:00:00 2001 From: Frederic Marchal Date: Sat, 26 Jan 2013 18:14:36 +0100 Subject: [PATCH] Install sarg.exe on Windows Use the executable extension discovered by the configuration script when installing sarg. --- Makefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index cae0477..1777f8d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -30,6 +30,7 @@ VPATH = . INSTALL = cp XSL_MAN_STYLESHEET=@XSL_MAN_STYLESHEET@ XSL_HTML_STYLESHEET=@XSL_HTML_STYLESHEET@ +EXEEXT = @EXEEXT@ INSTALL_PROGRAM = $(INSTALL) @@ -94,8 +95,8 @@ install: all install-po echo "Creating $(DESTDIR)$(IMAGEDIR)"; \ mkdir -p $(DESTDIR)$(IMAGEDIR); \ fi - $(INSTALL_PROGRAM) sarg $(DESTDIR)$(bindir)/sarg - chmod 755 $(DESTDIR)$(bindir)/sarg + $(INSTALL_PROGRAM) sarg$(EXEEXT) $(DESTDIR)$(bindir)/sarg$(EXEEXT); + chmod 755 $(DESTDIR)$(bindir)/sarg$(EXEEXT); $(INSTALL_PROGRAM) sarg.1 $(DESTDIR)$(man1dir)/sarg.1 chmod 755 $(DESTDIR)$(man1dir)/sarg.1 @if test ! -f $(DESTDIR)$(sysconfdir)/sarg.conf; then \ -- 2.47.3