mirror of
https://github.com/RTimothyEdwards/netgen.git
synced 2026-08-29 01:14:24 +02:00
First pass at incorporating the efabless LVS manager GUI into the
netgen distribution. It sort of works, but not quite there yet.
This commit is contained in:
@@ -34,6 +34,7 @@ netgen.tcl: netgen.tcl.in
|
||||
|
||||
netgen.sh: netgen.sh.in
|
||||
sed -e 's%TCL_DIR%${TCLDIR}%g' \
|
||||
-e 's%PY_DIR%${PYDIR}%g' \
|
||||
-e 's%TCLLIB_DIR%${TCL_LIB_DIR}%g' \
|
||||
-e 's%WISH_EXE%${WISH_EXE}%g' \
|
||||
netgen.sh.in > netgen.sh
|
||||
|
||||
+7
-1
@@ -14,6 +14,7 @@
|
||||
|
||||
TKCON=true
|
||||
BATCH=
|
||||
GUI=
|
||||
NETGEN_WISH=WISH_EXE
|
||||
export NETGEN_WISH
|
||||
|
||||
@@ -29,6 +30,7 @@ for i in "$@" ; do
|
||||
case $i in
|
||||
-noc*) TKCON=;;
|
||||
-bat*) BATCH=true; TKCON=;;
|
||||
-gui) GUI=true; TKCON=;;
|
||||
*) arglist="$arglist${arglist:+ }\"${i//\"/\\\"}\"";;
|
||||
esac
|
||||
done
|
||||
@@ -40,7 +42,10 @@ if [ $TKCON ]; then
|
||||
-slave "package require Tk; set argc $#; set argv [list $arglist]; \
|
||||
source TCL_DIR/netgen.tcl"
|
||||
|
||||
else
|
||||
# Run the Python LVS manager GUI
|
||||
|
||||
elif [ $GUI ]; then
|
||||
exec PY_DIR/lvs_manager.py $@
|
||||
|
||||
#
|
||||
# Run the stand-in for wish (netgenexec), which acts exactly like "wish"
|
||||
@@ -49,6 +54,7 @@ else
|
||||
# capable of sourcing the startup script.
|
||||
#
|
||||
|
||||
else
|
||||
exec TCL_DIR/netgenexec -- "$@"
|
||||
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user