File: rtags-release.sh

package info (click to toggle)
rtags 2.41-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,768 kB
  • sloc: cpp: 51,883; lisp: 5,389; ansic: 1,637; sh: 563; python: 305; objc: 81; makefile: 29
file content (14 lines) | stat: -rwxr-xr-x 267 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash -e

mkdir build
cd build
for generator in TGZ TBZ2; do
    cmake .. -DRTAGS_ENABLE_DEV_OPTIONS=1 $CMAKE_ARGS -DCPACK_GENERATOR=$generator
    if [ -e "Makefile" ]; then
        make package_source
    else
        ninja package_source
    fi
done

exit 0