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

tokarchuk/v1.17
Andrey Nering 8 years ago committed by Lunny Xiao
parent aea1b2b02e
commit b7e1bccc50
  1. 7
      Makefile

@ -1,7 +1,12 @@
DIST := dist DIST := dist
EXECUTABLE := gitea
IMPORT := code.gitea.io/gitea IMPORT := code.gitea.io/gitea
ifeq ($(OS), Windows_NT)
EXECUTABLE := gitea.exe
else
EXECUTABLE := gitea
endif
BINDATA := modules/{options,public,templates}/bindata.go BINDATA := modules/{options,public,templates}/bindata.go
STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less) STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less)
JAVASCRIPTS := JAVASCRIPTS :=

Loading…
Cancel
Save