Installed files have better permissions.

Requires build.zsh 0.4.0.
master
Luka Vandervelden 2019-10-24 00:48:20 +02:00
parent f40dbccc1f
commit f9ad890e05
1 changed files with 3 additions and 0 deletions

View File

@ -21,12 +21,14 @@ type[src/config.cr]=script
sources[src/config.cr]=src/config.cr.in sources[src/config.cr]=src/config.cr.in
install[src/config.cr]=false install[src/config.cr]=false
auto[src/config.cr]=true # Dont display it in `make help`. auto[src/config.cr]=true # Dont display it in `make help`.
chmod[src/config.cr]=0644
for file in services/*.spec; do for file in services/*.spec; do
targets+=($file) targets+=($file)
type[$file]=script type[$file]=script
install[$file]='$(SHAREDIR)/services' install[$file]='$(SHAREDIR)/services'
auto[$file]=true auto[$file]=true
chmod[$file]=0644
done done
for file in templates/*.j2; do for file in templates/*.j2; do
@ -34,6 +36,7 @@ for file in templates/*.j2; do
type[$file]=script type[$file]=script
install[$file]='$(SYSCONFDIR)/templates' install[$file]='$(SYSCONFDIR)/templates'
auto[$file]=true auto[$file]=true
chmod[$file]=0644
done done
# FIXME: This should be upstreamed. # FIXME: This should be upstreamed.