You will need a c++11 compiler (for example g++
or clang
), cmake
,
and boost
installed.
Please take a look at compile options for the available options.
git clone git://github.com/dannyedel/dspdfviewer.git
cd dspdfviewer
mkdir build ; cd build
cmake ..
(note: this step should tell you about missing build-deps)make
make install
(optional)Be advised that there is no automatic uninstallation, so please consider packaging the software using your distribution’s preferred packaging method.
The cmake
step accepts --prefix=
and the generated
make install
accepts the DESTDIR
setting, so your packager can
redirect the files where it needs them.
cd .../dspdfviewer/build/
git pull
make
make install
(optional)Again, please use your distribution’s preferred packaging wrapper around make install
.