Build and install info file

This commit is contained in:
Orion Poplawski 2013-10-10 09:56:57 -06:00
parent 062107cdbc
commit 27493ce74e

View File

@ -188,7 +188,7 @@ cd -
# Docs don't build properly out of tree # Docs don't build properly out of tree
%configure %{configure_opts} --with-tutorial %configure %{configure_opts} --with-tutorial
ln -s ../minimal/src/gnuplot src/ ln -s ../minimal/src/gnuplot src/
make -C docs html make -C docs html info
export GNUPLOT_PS_DIR=../../term/PostScript export GNUPLOT_PS_DIR=../../term/PostScript
make -C docs/psdoc ps_symbols.ps ps_fontfile_doc.pdf make -C docs/psdoc ps_symbols.ps ps_fontfile_doc.pdf
rm -rf docs/htmldocs/images.idx rm -rf docs/htmldocs/images.idx
@ -208,6 +208,9 @@ mv $RPM_BUILD_ROOT%{_bindir}/gnuplot $RPM_BUILD_ROOT%{_bindir}/gnuplot-qt
# install minimal binary # install minimal binary
install -p -m 755 minimal/src/gnuplot $RPM_BUILD_ROOT%{_bindir}/gnuplot-minimal install -p -m 755 minimal/src/gnuplot $RPM_BUILD_ROOT%{_bindir}/gnuplot-minimal
# install info
make -C docs install-info DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
# install emacs files # install emacs files
install -d ${RPM_BUILD_ROOT}/%{_emacs_sitestartdir}/ install -d ${RPM_BUILD_ROOT}/%{_emacs_sitestartdir}/
install -p -m 644 %SOURCE1 ${RPM_BUILD_ROOT}/%{_emacs_sitestartdir}/gnuplot-init.el install -p -m 644 %SOURCE1 ${RPM_BUILD_ROOT}/%{_emacs_sitestartdir}/gnuplot-init.el