File: doit

package info (click to toggle)
pgrouting 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 14,232 kB
  • ctags: 1,566
  • sloc: cpp: 74,626; ansic: 6,036; sql: 2,889; sh: 635; perl: 523; makefile: 67
file content (22 lines) | stat: -rwxr-xr-x 892 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
#!/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)
rsync -a doc/html/* /u/www/html/pgr2-doc/.
ln -sf /u/www/html/pgr2-doc/. /u/www/html/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