]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Install sarg.exe on Windows
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Sat, 26 Jan 2013 17:14:36 +0000 (18:14 +0100)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Sat, 26 Jan 2013 17:14:36 +0000 (18:14 +0100)
Use the executable extension discovered by the configuration script when
installing sarg.

Makefile.in

index cae0477a1b9a428f863ae00004a227d0a3c40684..1777f8d8c377b731cdab588ba76e478e898e9bb5 100644 (file)
@@ -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 \