summaryrefslogtreecommitdiff
path: root/misc/excel-writer/files/runme.sh.in
blob: 77928856d45eb042f9f431f5c3c18dd55a007544 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# This script will:
# 1) Build the example executable in /tmp
# 2) Tell the user how to execute it

GNATMAKE=@PREFIX@/gcc-aux/bin/gnatmake
ADA_PROJECT_PATH=@PREFIX@/lib/gnat
export ADA_PROJECT_PATH

${GNATMAKE} -P example

echo
echo "The source for the example is excel_out_demo.adb"
echo "The executable example is located in /tmp/excel_out_demo"
echo "It requires no options; just run it"
echo 'You may want to execute "rm /tmp/excel_out*" when you are done.'