]> source.dussan.org Git - gitea.git/commitdiff
Makefile: on Windows, executable should have ".exe" (#550)
authorAndrey Nering <andrey.nering@gmail.com>
Sun, 1 Jan 2017 14:18:35 +0000 (12:18 -0200)
committerLunny Xiao <xiaolunwen@gmail.com>
Sun, 1 Jan 2017 14:18:35 +0000 (22:18 +0800)
Makefile

index f38a26ed3aa63d60df06b9d852abff1f1aa1768f..f94fd2a5e34b5e162ded801cddeb3e312785d753 100644 (file)
--- 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 :=