Diff

Differences From Artifact [9e9c539c66]:

To Artifact [82f16cfdad]:


1
2
3
4


5
6
7
8
9
10
11



12
13
14
15
16
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18


19




+
+







+
+
+


-
-

#! /bin/bash

set -e

tuapi_version="$(grep Tcl_PkgProvide tuapi.c | awk '{ print $3 }' | sed 's@[");]*@@g')"

case "$1" in
	clean|distclean)
		rm -rf out inst
		rm -f libtuapi.a tuapi.o tuapi.so
		rm -f tuapi.tcl.h
		exit 0
		;;
	version)
		echo "${tuapi_version}"
		;;
esac

tuapi_version="$(grep Tcl_PkgProvide tuapi.c | awk '{ print $3 }' | sed 's@[");]*@@g')"

./stringify.tcl tuapi.tcl > tuapi.tcl.h