Artifact 82f16cfdade9447af166a338a7f6260f9ff034a5:
- Executable file build-common.sh — part of check-in [def9a63955] at 2014-10-24 20:28:17 on branch trunk — Updated to have working Makefile (user: rkeene, size: 317) [annotate] [blame] [check-ins using]
#! /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 ./stringify.tcl tuapi.tcl > tuapi.tcl.h