Makefile: on Windows, executable should have ".exe" (#550)

release/v1.15
Andrey Nering 2017-01-01 12:18:35 -02:00 committed by Lunny Xiao
parent aea1b2b02e
commit b7e1bccc50
1 changed files with 6 additions and 1 deletions

View File

@ -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 :=