reposearch/Makefile

10 lines
272 B
Makefile
Raw Normal View History

2023-02-02 17:07:19 +00:00
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