From 27493ce74efe1c58877ff1d223a766008257befc Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Oct 10 2013 15:56:57 +0000 Subject: Build and install info file --- diff --git a/gnuplot.spec b/gnuplot.spec index 162a907..5a4598d 100644 --- a/gnuplot.spec +++ b/gnuplot.spec @@ -188,7 +188,7 @@ cd - # Docs don't build properly out of tree %configure %{configure_opts} --with-tutorial ln -s ../minimal/src/gnuplot src/ -make -C docs html +make -C docs html info export GNUPLOT_PS_DIR=../../term/PostScript make -C docs/psdoc ps_symbols.ps ps_fontfile_doc.pdf 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 -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 -d ${RPM_BUILD_ROOT}/%{_emacs_sitestartdir}/ install -p -m 644 %SOURCE1 ${RPM_BUILD_ROOT}/%{_emacs_sitestartdir}/gnuplot-init.el