Gitea: Blog
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
361 B

THEME := themes/gitea
PUBLIC := public
.PHONY: all
all: build
.PHONY: clean
rm -rf $(PUBLIC) $(THEME)
.PHONY: server
server: $(THEME)
hugo server
.PHONY: build
build: $(THEME)
hugo --cleanDestinationDir
.PHONY: update
update: $(THEME)
mkdir -p $@
curl -sL $(ARCHIVE) | tar xz -C $@