# We don't want to rebuild the docs, but we want to install the included ones.
export HASDOCBOOK=no
-%if "%{?profile}" != "tv"
%reconfigure --disable-static \
--with-expat=%{_prefix} \
--with-expat-include=%{_includedir} \
--with-templatedir=%{TZ_SYS_RO_ETC}/fonts/conf.avail \
--with-xmldir=%{TZ_SYS_RO_ETC}/fonts \
--disable-docs
-%else
-%reconfigure --disable-static \
- --with-expat=%{_prefix} \
- --with-expat-include=%{_includedir} \
- --with-expat-lib=%{_libdir} \
- --with-freetype-config=%{TZ_SYS_BIN}/freetype-config \
- --with-add-fonts=%{TZ_SYS_RO_SHARE}/fonts \
- --with-cache-dir=%{TZ_SYS_VAR}/cache/fontconfig \
- --with-baseconfigdir=%{TZ_SYS_RO_ETC}/fonts \
- --with-configdir=%{TZ_SYS_RO_ETC}/fonts/conf.d \
- --with-templatedir=%{TZ_SYS_RO_ETC}/fonts/conf.avail \
- --with-xmldir=%{TZ_SYS_RO_ETC}/fonts \
- --disable-docs
-%endif
make %{?jobs:-j%jobs}