File: rebuild.sh

package info (click to toggle)
icewm 1.3.8+mod+20161220-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 7,160 kB
  • ctags: 5,575
  • sloc: cpp: 48,848; ansic: 1,813; makefile: 1,129; sh: 339; xml: 48
file content (17 lines) | stat: -rwxr-xr-x 588 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

if test -z "$DBGCM"; then

rm -f cscope.*
./autogen.sh
./configure.sh
make clean
make V=0 cscope
cscope -b
make V=0 clean all README

else
# cmake cheat sheet... with Debian-style configuration
mkdir -p builddir-debug || rm -rf builddir-debug/CMake*
cd builddir-debug && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DICEHELPIDX=/usr/share/doc/icewm-common/html/icewm.html -DCFGDIR=/etc/X11/icewm -DVERSION=10.9.8-debug -DDOCDIR=/usr/share/doc/icewm-common -DCMAKE_VERBOSE_MAKEFILE=ON -DCONFIG_XRANDR=on -DCONFIG_GUIEVENTS=on && make -j$(nproc || echo 3)
fi