10 lines
272 B
Makefile
10 lines
272 B
Makefile
|
include .env
|
||
|
|
||
|
gensite:
|
||
|
sed -e "s#GITEA_SITE#${GITEA_SITE}#" script.template.js > script.js
|
||
|
sed -e "s#GITEA_SITE_NAME#${GITEA_SITE_NAME}#" index.template.html > index.html
|
||
|
sed -i -e "s#GITEA_SITE_NAME#${GITEA_SITE_NAME}#" index.html
|
||
|
|
||
|
clean:
|
||
|
rm -rf index.html script.js
|