From: Frederic Marchal Date: Sat, 26 Jan 2013 17:14:36 +0000 (+0100) Subject: Install sarg.exe on Windows X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=142d788e222515d96b650a8069980898f960bad8;p=thirdparty%2Fsarg.git Install sarg.exe on Windows Use the executable extension discovered by the configuration script when installing sarg. --- 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 \