Hex Artifact Content

Artifact cc2421b376507e59845f960cfe9199014bd1b8d4:


0000: 23 20 54 68 69 73 20 69 73 20 74 68 65 20 6e 61  # This is the na
0010: 6d 65 20 6f 66 20 74 68 65 20 75 74 69 6c 69 74  me of the utilit
0020: 79 2c 20 69 74 20 77 69 6c 6c 20 62 65 20 70 72  y, it will be pr
0030: 65 66 69 78 65 64 20 74 6f 20 74 68 65 20 74 61  efixed to the ta
0040: 72 62 61 6c 6c 20 6e 61 6d 65 0a 55 54 49 4c 3d  rball name.UTIL=
0050: 22 74 65 61 70 61 72 74 79 22 0a 0a 23 20 54 68  "teaparty"..# Th
0060: 69 73 20 69 73 20 74 68 65 20 6e 61 6d 65 20 6f  is is the name o
0070: 66 20 6f 75 74 70 75 74 20 66 69 6c 65 73 20 74  f output files t
0080: 68 61 74 20 73 68 6f 75 6c 64 20 65 78 69 73 74  hat should exist
0090: 20 61 66 74 65 72 20 63 6f 6e 66 69 67 75 72 65   after configure
00a0: 20 0a 23 20 70 72 6f 63 65 64 75 72 65 73 2e 0a   .# procedures..
00b0: 42 49 4e 53 3d 22 22 0a 0a 23 20 54 68 69 73 20  BINS=""..# This 
00c0: 6c 69 73 74 73 20 74 68 65 20 6e 61 6d 65 20 6f  lists the name o
00d0: 66 20 66 69 6c 65 73 20 74 68 61 74 20 61 72 65  f files that are
00e0: 20 72 65 71 75 69 72 65 64 20 74 6f 20 65 78 69   required to exi
00f0: 73 74 0a 52 45 51 53 3d 22 74 65 61 70 6f 74 2d  st.REQS="teapot-
0100: 63 6c 69 65 6e 74 2e 6b 69 74 22 0a 0a 23 20 56  client.kit"..# V
0110: 65 72 73 69 6f 6e 20 6f 66 20 75 74 69 6c 69 74  ersion of utilit
0120: 79 2c 20 69 66 20 65 6d 70 74 79 20 69 74 20 77  y, if empty it w
0130: 69 6c 6c 20 62 65 20 67 75 65 73 73 65 64 2e 0a  ill be guessed..
0140: 23 20 49 66 20 73 65 74 20 74 6f 20 22 61 75 74  # If set to "aut
0150: 6f 22 20 69 74 20 77 69 6c 6c 20 62 65 20 6d 61  o" it will be ma
0160: 69 6e 74 61 69 6e 65 64 20 69 6e 20 61 20 66 69  intained in a fi
0170: 6c 65 20 63 61 6c 6c 65 64 20 2e 76 65 72 73 69  le called .versi
0180: 6f 6e 0a 23 20 69 6e 20 74 68 65 20 73 6f 75 72  on.# in the sour
0190: 63 65 20 64 69 72 65 63 74 6f 72 79 20 61 6e 64  ce directory and
01a0: 20 74 68 65 20 72 65 76 69 73 69 6f 6e 20 77 69   the revision wi
01b0: 6c 6c 20 62 65 20 69 6e 63 72 65 6d 65 6e 74 65  ll be incremente
01c0: 64 0a 23 20 65 61 63 68 20 74 69 6d 65 20 61 20  d.# each time a 
01d0: 22 6d 61 6b 65 61 72 63 68 22 20 69 73 20 64 6f  "makearch" is do
01e0: 6e 65 2e 0a 23 0a 23 20 49 66 20 40 40 53 56 4e  ne..#.# If @@SVN
01f0: 4c 43 52 40 40 20 69 73 20 75 73 65 64 20 61 6e  LCR@@ is used an
0200: 79 77 68 65 72 65 20 69 6e 20 74 68 69 73 20 76  ywhere in this v
0210: 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 2c 20 69  ersion number, i
0220: 74 20 77 69 6c 6c 20 62 65 0a 23 20 72 65 70 6c  t will be.# repl
0230: 61 63 65 64 20 77 69 74 68 20 74 68 65 20 68 69  aced with the hi
0240: 67 68 65 73 74 20 6c 61 73 74 2d 63 68 61 6e 67  ghest last-chang
0250: 65 64 2d 72 65 76 20 66 72 6f 6d 20 74 68 65 20  ed-rev from the 
0260: 6f 75 74 70 75 74 20 6f 66 0a 23 20 20 20 73 76  output of.#   sv
0270: 6e 20 69 6e 66 6f 20 2d 52 20 20 20 20 28 6f 72  n info -R    (or
0280: 20 30 29 0a 56 45 52 53 3d 22 30 2e 39 2e 38 22   0).VERS="0.9.8"
0290: 0a 0a 23 20 53 70 61 63 65 20 73 70 65 72 61 74  ..# Space sperat
02a0: 65 64 20 6c 69 73 74 20 6f 66 20 64 6f 63 75 6d  ed list of docum
02b0: 65 6e 74 73 2c 20 69 66 20 74 68 65 79 20 65 78  ents, if they ex
02c0: 69 73 74 2c 20 74 68 65 79 20 77 69 6c 6c 20 62  ist, they will b
02d0: 65 0a 23 20 70 72 65 66 69 78 65 64 20 77 69 74  e.# prefixed wit
02e0: 68 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f  h the contents o
02f0: 66 20 74 68 65 20 44 4f 43 5f 48 44 52 20 66 69  f the DOC_HDR fi
0300: 6c 65 20 61 6e 64 20 73 75 62 73 74 69 74 75 74  le and substitut
0310: 69 6f 6e 0a 23 20 77 69 6c 6c 20 6f 63 63 75 72  ion.# will occur
0320: 3a 0a 23 20 20 20 20 20 40 40 55 54 49 4c 40 40  :.#     @@UTIL@@
0330: 20 62 65 63 6f 6d 65 73 20 74 68 65 20 75 74 69   becomes the uti
0340: 6c 69 74 79 20 6e 61 6d 65 20 24 7b 55 54 49 4c  lity name ${UTIL
0350: 7d 0a 23 20 20 20 20 20 40 40 56 45 52 53 40 40  }.#     @@VERS@@
0360: 20 62 65 63 6f 6d 65 73 20 74 68 65 20 75 74 69   becomes the uti
0370: 6c 69 74 79 20 76 65 72 73 69 6f 6e 0a 23 20 20  lity version.#  
0380: 20 20 20 40 40 44 41 54 45 40 40 20 62 65 63 6f     @@DATE@@ beco
0390: 6d 65 73 20 74 68 65 20 63 75 72 72 65 6e 74 20  mes the current 
03a0: 64 61 74 65 0a 44 4f 43 53 3d 22 52 45 41 44 4d  date.DOCS="READM
03b0: 45 2e 74 78 74 20 43 68 61 6e 67 65 4c 6f 67 22  E.txt ChangeLog"
03c0: 0a 44 4f 43 5f 48 44 52 3d 22 48 45 41 44 45 52  .DOC_HDR="HEADER
03d0: 22 0a 0a 23 20 54 68 65 73 65 20 66 69 6c 65 73  "..# These files
03e0: 20 66 6f 6c 6c 6f 77 20 74 68 65 20 73 61 6d 65   follow the same
03f0: 20 63 6f 6e 76 65 6e 74 69 6f 6e 20 61 73 20 44   convention as D
0400: 4f 43 53 2c 20 62 75 74 20 64 6f 6e 27 74 20 68  OCS, but don't h
0410: 61 76 65 20 74 68 65 20 68 65 61 64 65 72 0a 23  ave the header.#
0420: 20 74 61 63 6b 65 64 20 6f 6e 74 6f 20 74 68 65   tacked onto the
0430: 6d 2e 0a 55 50 44 41 54 45 5f 56 41 52 53 3d 22  m..UPDATE_VARS="
0440: 22 0a 0a 23 20 54 68 69 73 20 73 63 72 69 70 74  "..# This script
0450: 20 69 73 20 65 78 65 63 75 74 65 64 20 69 6d 6d   is executed imm
0460: 65 64 69 61 74 65 6c 79 20 61 66 74 65 72 20 63  ediately after c
0470: 6f 70 79 69 6e 67 20 74 68 65 20 66 69 6c 65 73  opying the files
0480: 0a 23 20 74 6f 20 61 20 74 65 6d 70 20 64 69 72  .# to a temp dir
0490: 65 63 74 6f 72 79 20 74 6f 20 61 74 74 65 6d 70  ectory to attemp
04a0: 74 20 74 6f 20 63 6f 6d 70 69 6c 65 0a 42 45 46  t to compile.BEF
04b0: 4f 52 45 3d 22 62 75 69 6c 64 2f 70 72 65 70 61  ORE="build/prepa
04c0: 72 65 2e 73 68 22 0a 0a 23 20 54 68 69 73 20 73  re.sh"..# This s
04d0: 63 72 69 70 74 20 69 73 20 65 78 65 63 75 74 65  cript is execute
04e0: 64 20 69 6d 6d 65 64 69 61 74 65 6c 79 20 70 72  d immediately pr
04f0: 69 6f 72 20 74 6f 20 63 72 65 61 74 69 6f 6e 20  ior to creation 
0500: 6f 66 20 74 68 65 0a 23 20 74 61 72 62 61 6c 6c  of the.# tarball
0510: 0a 41 46 54 45 52 3d 22 22 0a 0a 23 20 46 69 6c  .AFTER=""..# Fil
0520: 65 73 20 6d 61 74 63 68 69 6e 67 20 74 68 65 73  es matching thes
0530: 65 20 28 73 70 61 63 65 2d 73 65 70 65 72 61 74  e (space-seperat
0540: 65 64 29 20 70 61 74 74 65 72 6e 73 20 61 72 65  ed) patterns are
0550: 20 64 65 6c 65 74 65 64 0a 54 4d 50 53 3d 22 2a   deleted.TMPS="*
0560: 2e 6f 75 74 20 48 45 41 44 45 52 20 62 75 69 6c  .out HEADER buil
0570: 64 22 0a                                         d".