mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-15 18:08:23 -07:00
fb5c6b6444
* import docs into main repository Signed-off-by: Matti Ranta <matti@mdranta.net>
30 lines
418 B
Makefile
30 lines
418 B
Makefile
THEME := themes/gitea
|
|
PUBLIC := public
|
|
ARCHIVE := https://dl.gitea.io/theme/master.tar.gz
|
|
|
|
.PHONY: all
|
|
all: build
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf $(PUBLIC) $(THEME)
|
|
|
|
.PHONY: trans-copy
|
|
trans-copy:
|
|
@bash scripts/trans-copy
|
|
|
|
.PHONY: server
|
|
server: $(THEME)
|
|
hugo server
|
|
|
|
.PHONY: build
|
|
build: $(THEME)
|
|
hugo --cleanDestinationDir
|
|
|
|
.PHONY: update
|
|
update: $(THEME)
|
|
|
|
$(THEME):
|
|
mkdir -p $@
|
|
curl -s $(ARCHIVE) | tar xz -C $@
|