More stuff gets installed through `make install`.
parent
3c20783f91
commit
ca013e37d8
16
project.zsh
16
project.zsh
|
@ -19,11 +19,23 @@ done
|
|||
targets+=(src/config.cr)
|
||||
type[src/config.cr]=script
|
||||
sources[src/config.cr]=src/config.cr.in
|
||||
install[src/config.cr]=false
|
||||
auto[src/config.cr]=true # Don’t display it in `make help`.
|
||||
|
||||
# FIXME: Redefining the backend so that script is not installed is a bit much.
|
||||
for file in services/*.spec; do
|
||||
targets+=($file)
|
||||
type[$file]=script
|
||||
install[$file]='$(SHAREDIR)/services'
|
||||
auto[$file]=true
|
||||
done
|
||||
|
||||
# FIXME: This should be upstreamed.
|
||||
function script.install {
|
||||
ofile.install "$@"
|
||||
if [[ "false" = "${install[$target]}" ]]; then
|
||||
ofile.install "$@"
|
||||
else
|
||||
binary.install "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
install[status]='$(LIBEXECDIR)/service'
|
||||
|
|
Loading…
Reference in New Issue