From: Oleg Broytman Date: Sun, 16 Jun 2024 15:21:09 +0000 (+0300) Subject: Build(Makefile): Add a target to fix permissions X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=07016d6aaed52fda5bc9a362801df7e6d53fe2d1;p=phdru.name%2Fcgi-bin%2Fblog-ru%2Fsearch-tags.git Build(Makefile): Add a target to fix permissions --- diff --git a/Makefile b/Makefile index f07aa0f..7954baa 100644 --- a/Makefile +++ b/Makefile @@ -24,3 +24,10 @@ venv: echo "The venv has been created in the $(VENVDIR) directory"; \ fi +.PHONY: perms +perms: + chmod -R u=rwX,go=rX . && \ + chmod -R go= .git .gitignore html_output/.gitignore \ + devscripts parser/Makefile ChangeLog Makefile \ + requirements.txt version && \ + exec find .git/objects -type f -exec chmod a=r '{}' \+