ports/misc/excel-writer/files/runme.sh.in
2014-03-31 17:47:01 +00:00

17 lines
473 B
Bash

#!/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.'