mirror of https://github.com/djcb/mu.git
parent
9ddde205a4
commit
bcd3e48931
|
@ -4,11 +4,10 @@ infodir=$1
|
||||||
infofile=$2
|
infofile=$2
|
||||||
|
|
||||||
# Meson post-install script to update info metadata
|
# Meson post-install script to update info metadata
|
||||||
|
|
||||||
# If DESTDIR is set, do _not_ install-info, since it's only a temporary
|
# If DESTDIR is set, do _not_ install-info, since it's only a temporary
|
||||||
# install
|
# install
|
||||||
if test -z "${DESTDIR}"; then
|
if test -z "${DESTDIR}"; then
|
||||||
install-info --info-dir ${MESON_INSTALL_DESTDIR_PREFIX}/${infodir} \
|
install-info --info-dir "${infodir}" "${infodir}/${infofile}"
|
||||||
${MESON_INSTALL_DESTDIR_PREFIX}/${infodir}/${infofile}
|
gzip --force "${infodir}/${infofile}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gzip --force ${MESON_INSTALL_DESTDIR_PREFIX}/${infodir}/${infofile}
|
|
||||||
|
|
|
@ -87,9 +87,9 @@ if makeinfo.found()
|
||||||
'-o', join_paths(meson.current_build_dir(), 'mu-guile.info'),
|
'-o', join_paths(meson.current_build_dir(), 'mu-guile.info'),
|
||||||
join_paths(meson.current_source_dir(), 'mu-guile.texi'),
|
join_paths(meson.current_source_dir(), 'mu-guile.texi'),
|
||||||
'-I', join_paths(meson.current_build_dir(), '..')])
|
'-I', join_paths(meson.current_build_dir(), '..')])
|
||||||
|
|
||||||
if install_info.found()
|
if install_info.found()
|
||||||
meson.add_install_script(install_info_script, 'share/info', 'mu-guile.info')
|
infodir = join_paths(get_option('prefix') / get_option('infodir'))
|
||||||
|
meson.add_install_script(install_info_script, infodir, 'mu-guile.info')
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -131,6 +131,7 @@ if makeinfo.found()
|
||||||
join_paths(meson.current_source_dir(), 'mu4e.texi'),
|
join_paths(meson.current_source_dir(), 'mu4e.texi'),
|
||||||
'-I', join_paths(meson.current_build_dir(), '..')])
|
'-I', join_paths(meson.current_build_dir(), '..')])
|
||||||
if install_info.found()
|
if install_info.found()
|
||||||
meson.add_install_script(install_info_script, 'share/info', 'mu4e.info')
|
infodir = join_paths(get_option('prefix') / get_option('infodir'))
|
||||||
|
meson.add_install_script(install_info_script, infodir, 'mu4e.info')
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue