From b7e1bccc501c5246e6f8b9bed4853b90e9a447c5 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Sun, 1 Jan 2017 12:18:35 -0200 Subject: [PATCH] Makefile: on Windows, executable should have ".exe" (#550) --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f38a26ed3a..f94fd2a5e3 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 :=