More stuff gets installed through `make install`.
parent
3c20783f91
commit
ca013e37d8
14
project.zsh
14
project.zsh
|
@ -19,11 +19,23 @@ done
|
||||||
targets+=(src/config.cr)
|
targets+=(src/config.cr)
|
||||||
type[src/config.cr]=script
|
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
|
||||||
auto[src/config.cr]=true # Don’t display it in `make help`.
|
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 {
|
function script.install {
|
||||||
|
if [[ "false" = "${install[$target]}" ]]; then
|
||||||
ofile.install "$@"
|
ofile.install "$@"
|
||||||
|
else
|
||||||
|
binary.install "$@"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
install[status]='$(LIBEXECDIR)/service'
|
install[status]='$(LIBEXECDIR)/service'
|
||||||
|
|
Loading…
Reference in New Issue