Update Makefile

This commit is contained in:
2025-11-27 16:58:28 +08:00
parent 2504f89b24
commit 7b177ae9ef
+1 -1
View File
@@ -18,7 +18,7 @@ reponame := $(shell basename $(shell git rev-parse --show-toplevel))
projtype := $(shell basename $(shell dirname $(shell git rev-parse --show-toplevel)))
pubtype := $(if $(findstring PUB,$(branchname)),public,protected)
remotedir := dwuser@drwater.net:/home/www/drc/$(projtype)/$(pubtype)/$(reponame)/$(branchname)
outputdir := $(shell awk -F': *' '/^ *output-dir:/ {print $$2 "/" }' ./*.yml)
outputdir := $(shell awk -F': *' '/^ *output-dir:/ {print $$2 "/" }' ./*.yml | head -n 1)
siteurl := https://drc.drwater.net/$(projtype)/$(pubtype)/$(reponame)/$(branchname)
branchnames := "TX\|FJ\|YF\|ZY\|WW\|JB\|YY\|YJ\|DYF"