1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#! /bin/bash
set -e
case "$1" in
clean|distclean)
rm -rf out inst
rm -f libsystem.a system.o system.so
rm -f system.tcl.h
exit 0
;;
esac
./stringify.tcl system.tcl > system.tcl.h
|
|
|
>
>
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#! /bin/bash
set -e
case "$1" in
clean|distclean)
rm -rf out inst
rm -f libtuapi.a tuapi.o tuapi.so
rm -f tuapi.tcl.h
exit 0
;;
esac
tuapi_version="$(grep Tcl_PkgProvide system.c | awk '{ print $3 }' | sed 's@[");]*@@g')"
./stringify.tcl system.tcl > tuapi.tcl.h
|