reposearch/Makefile
2023-02-02 21:16:54 +00:00

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