File: makedebug.sh

package info (click to toggle)
lamarc 2.1.10.1%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 77,080 kB
  • sloc: cpp: 112,339; xml: 16,769; sh: 3,528; makefile: 1,219; python: 420; perl: 260; ansic: 40
file content (26 lines) | stat: -rwxr-xr-x 780 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash

#This script requires that you have 'wx-config' in your path somewhere.  For
# example, if you're on darwin and want to use sanity's version, you can
# put ~sanity/wxLibs/bin/ in your path.
#
# Also note that if your makefiles are not working, you may need to start 
# from scratch, with:
#
# aclocal
# autoconf
# automake
#
# (in this directory) before running this script.

if [ ! -r debug/Makefile ]; then
    mkdir -p debug
    cd debug
    ../configure --enable-debug --enable-gui
    cd ..
fi
cd debug
make lamarc && cp -f lamarc .. && echo 'lamarc updated to the debug version.'
make lam_conv && cp -f lam_conv .. && echo 'lam_conv updated to the debug version.'
make old_lam_conv && cp -f old_lam_conv .. && echo 'old_lam_conv updated to the debug version.'