summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2017-01-01 12:18:35 -0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-01-01 22:18:35 +0800
commitb7e1bccc501c5246e6f8b9bed4853b90e9a447c5 (patch)
treee76fa885fadc4d2221eb1c0799afe3358749a9a8 /Makefile
parentaea1b2b02e495012e7cf93cb6b66d401e5a7fb5a (diff)
downloadgitea-b7e1bccc501c5246e6f8b9bed4853b90e9a447c5.tar.gz
gitea-b7e1bccc501c5246e6f8b9bed4853b90e9a447c5.zip
Makefile: on Windows, executable should have ".exe" (#550)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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 :=