From 933d7b74ff898a4915b35ab46a6de65273e50196 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Sun, 1 Jan 2017 11:15:22 -0200 Subject: [PATCH] Makefile: on Windows, executable should have ".exe" --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f38a26ed3aa63..f94fd2a5e34b5 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,12 @@ DIST := dist -EXECUTABLE := gitea IMPORT := code.gitea.io/gitea +ifeq ($(OS), Windows_NT) + EXECUTABLE := gitea.exe +else + EXECUTABLE := gitea +endif + BINDATA := modules/{options,public,templates}/bindata.go STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less) JAVASCRIPTS :=