File: makeopt.sh

package info (click to toggle)
lamarc 2.1.10.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 77,052 kB
  • sloc: cpp: 112,339; xml: 16,769; sh: 3,528; makefile: 1,219; python: 420; perl: 260; ansic: 40
file content (17 lines) | stat: -rwxr-xr-x 584 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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.

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