diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-10-15 12:37:21 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-10-15 13:02:50 -0400 |
commit | 0ff28d72f68c25d85fa851fc214f9478d9cb2396 (patch) | |
tree | da6bb8dda1fa3ea3caa30328ab89c2d45ebd13ef /examples/extract.sh | |
parent | ef7fddac3bfecfe855c55b78803df304376136eb (diff) | |
download | gtk+-0ff28d72f68c25d85fa851fc214f9478d9cb2396.tar.gz |
examples: build examples that are included in the docs
We build the examples that are included in the 'getting started'
chapter of the docs to prevent them from bitrotting. Also
remove the awk scripts used to extract the old examples from
the tutorial, since the tutorial is gone. I'm still leaving
the examples themeselves in place, for possible inclusion in
'getting started' later on.
Diffstat (limited to 'examples/extract.sh')
-rwxr-xr-x | examples/extract.sh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/examples/extract.sh b/examples/extract.sh deleted file mode 100755 index e7536a929f..0000000000 --- a/examples/extract.sh +++ /dev/null @@ -1,30 +0,0 @@ -#! /bin/sh -# extract - extract C source files from GTK Tutorial -# Copyright (C) Tony Gale 1998 -# Contact: gale@gtk.org -# -# extract.awk command Switches: -# -c : Just do checking rather than output files -# -f <filename> : Extract a specific file -# -d : Extract files to current directory - -TUTORIAL=../docs/tutorial/gtk-tut.sgml - -if [ -x /usr/bin/gawk ]; then - gawk -f extract.awk $TUTORIAL $1 $2 $3 $4 $5 -else - if [ -x /usr/bin/nawk ]; then - nawk -f extract.awk $TUTORIAL $1 $2 $3 $4 $5 - else - if [ -x /usr/bin/awk ]; then - awk -f extract.awk $TUTORIAL $1 $2 $3 $4 $5 - else - if [ -x /bin/awk ]; then - awk -f extract.awk $TUTORIAL $1 $2 $3 $4 $5 - else - echo "Can't find awk... please edit extract.sh by hand" - fi - fi - fi -fi - |