File: doit

package info (click to toggle)
pgrouting 2.3.2%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 20,624 kB
  • ctags: 3,244
  • sloc: cpp: 86,010; sql: 30,138; ansic: 9,711; python: 3,105; perl: 1,307; sh: 957; xml: 182; makefile: 126
file content (23 lines) | stat: -rwxr-xr-x 963 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
# ------------------------------------------------------------------------------
# Build script
# Copyright(c) pgRouting Contributors
#
# This script builds and install pgRouting
# ------------------------------------------------------------------------------
rm -rf build
mkdir build
cd build
cmake -DBUILD_LATEX=OFF -DWITH_DOC=ON -DWITH_DD=ON ..
#cmake  -DWITH_DD=ON ..
make all doc && sudo make install && (cd ..; tools/test-runner.pl -clean)
mkdir -p /u/www/imaptools/docs/pgr2-doc/
rsync -a doc/html/* /u/www/imaptools/docs/pgr2-doc/.
ln -sf /u/www/imaptools/docs/pgr2-doc/. /u/www/imaptools/docs/pgr2-doc/dev
gzip -c doc/man/en/pgrouting.7 > doc/man/en/pgrouting.7.gz
for x in `ls doc/latex` ; do
    mkdir -p /u/www/html/pgr2-doc/$x/.
    rsync -a doc/latex/$x/pgRoutingDocumentation.pdf /u/www/html/pgr2-doc/$x/.
    rsync -a doc/man/en/pgrouting.7.gz /u/www/html/pgr2-doc/$x/.
done
sudo install -t /usr/share/man/man7 doc/man/en/pgrouting.7.gz