Hex Artifact Content

Artifact 2c974f04f03ca30349c51a889c003b19656a554c:


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 6b 69 74 63 72 65 61 74 6f 72 22 0a 0a 23 20  "kitcreator"..# 
0060: 54 68 69 73 20 69 73 20 74 68 65 20 6e 61 6d 65  This is the name
0070: 20 6f 66 20 6f 75 74 70 75 74 20 66 69 6c 65 73   of output files
0080: 20 74 68 61 74 20 73 68 6f 75 6c 64 20 65 78 69   that should exi
0090: 73 74 20 61 66 74 65 72 20 63 6f 6e 66 69 67 75  st after configu
00a0: 72 65 20 0a 23 20 70 72 6f 63 65 64 75 72 65 73  re .# procedures
00b0: 2e 0a 42 49 4e 53 3d 22 22 0a 0a 23 20 54 68 69  ..BINS=""..# Thi
00c0: 73 20 6c 69 73 74 73 20 74 68 65 20 6e 61 6d 65  s lists the name
00d0: 20 6f 66 20 66 69 6c 65 73 20 74 68 61 74 20 61   of files that a
00e0: 72 65 20 72 65 71 75 69 72 65 64 20 74 6f 20 65  re required to e
00f0: 78 69 73 74 0a 52 45 51 53 3d 22 22 0a 0a 23 20  xist.REQS=""..# 
0100: 56 65 72 73 69 6f 6e 20 6f 66 20 75 74 69 6c 69  Version of utili
0110: 74 79 2c 20 69 66 20 65 6d 70 74 79 20 69 74 20  ty, if empty it 
0120: 77 69 6c 6c 20 62 65 20 67 75 65 73 73 65 64 2e  will be guessed.
0130: 0a 23 20 49 66 20 73 65 74 20 74 6f 20 22 61 75  .# If set to "au
0140: 74 6f 22 20 69 74 20 77 69 6c 6c 20 62 65 20 6d  to" it will be m
0150: 61 69 6e 74 61 69 6e 65 64 20 69 6e 20 61 20 66  aintained in a f
0160: 69 6c 65 20 63 61 6c 6c 65 64 20 2e 76 65 72 73  ile called .vers
0170: 69 6f 6e 0a 23 20 69 6e 20 74 68 65 20 73 6f 75  ion.# in the sou
0180: 72 63 65 20 64 69 72 65 63 74 6f 72 79 20 61 6e  rce directory an
0190: 64 20 74 68 65 20 72 65 76 69 73 69 6f 6e 20 77  d the revision w
01a0: 69 6c 6c 20 62 65 20 69 6e 63 72 65 6d 65 6e 74  ill be increment
01b0: 65 64 0a 23 20 65 61 63 68 20 74 69 6d 65 20 61  ed.# each time a
01c0: 20 22 6d 61 6b 65 61 72 63 68 22 20 69 73 20 64   "makearch" is d
01d0: 6f 6e 65 2e 0a 23 0a 23 20 49 66 20 40 40 53 56  one..#.# If @@SV
01e0: 4e 4c 43 52 40 40 20 69 73 20 75 73 65 64 20 61  NLCR@@ is used a
01f0: 6e 79 77 68 65 72 65 20 69 6e 20 74 68 69 73 20  nywhere in this 
0200: 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 2c 20  version number, 
0210: 69 74 20 77 69 6c 6c 20 62 65 0a 23 20 72 65 70  it will be.# rep
0220: 6c 61 63 65 64 20 77 69 74 68 20 74 68 65 20 68  laced with the h
0230: 69 67 68 65 73 74 20 6c 61 73 74 2d 63 68 61 6e  ighest last-chan
0240: 67 65 64 2d 72 65 76 20 66 72 6f 6d 20 74 68 65  ged-rev from the
0250: 20 6f 75 74 70 75 74 20 6f 66 0a 23 20 20 20 73   output of.#   s
0260: 76 6e 20 69 6e 66 6f 20 2d 52 20 20 20 20 28 6f  vn info -R    (o
0270: 72 20 30 29 0a 56 45 52 53 3d 22 30 2e 31 31 2e  r 0).VERS="0.11.
0280: 30 22 0a 0a 23 20 53 70 61 63 65 20 73 70 65 72  0"..# Space sper
0290: 61 74 65 64 20 6c 69 73 74 20 6f 66 20 64 6f 63  ated list of doc
02a0: 75 6d 65 6e 74 73 2c 20 69 66 20 74 68 65 79 20  uments, if they 
02b0: 65 78 69 73 74 2c 20 74 68 65 79 20 77 69 6c 6c  exist, they will
02c0: 20 62 65 0a 23 20 70 72 65 66 69 78 65 64 20 77   be.# prefixed w
02d0: 69 74 68 20 74 68 65 20 63 6f 6e 74 65 6e 74 73  ith the contents
02e0: 20 6f 66 20 74 68 65 20 44 4f 43 5f 48 44 52 20   of the DOC_HDR 
02f0: 66 69 6c 65 20 61 6e 64 20 73 75 62 73 74 69 74  file and substit
0300: 75 74 69 6f 6e 0a 23 20 77 69 6c 6c 20 6f 63 63  ution.# will occ
0310: 75 72 3a 0a 23 20 20 20 20 20 40 40 55 54 49 4c  ur:.#     @@UTIL
0320: 40 40 20 62 65 63 6f 6d 65 73 20 74 68 65 20 75  @@ becomes the u
0330: 74 69 6c 69 74 79 20 6e 61 6d 65 20 24 7b 55 54  tility name ${UT
0340: 49 4c 7d 0a 23 20 20 20 20 20 40 40 56 45 52 53  IL}.#     @@VERS
0350: 40 40 20 62 65 63 6f 6d 65 73 20 74 68 65 20 75  @@ becomes the u
0360: 74 69 6c 69 74 79 20 76 65 72 73 69 6f 6e 0a 23  tility version.#
0370: 20 20 20 20 20 40 40 44 41 54 45 40 40 20 62 65       @@DATE@@ be
0380: 63 6f 6d 65 73 20 74 68 65 20 63 75 72 72 65 6e  comes the curren
0390: 74 20 64 61 74 65 0a 44 4f 43 53 3d 22 52 45 41  t date.DOCS="REA
03a0: 44 4d 45 22 0a 44 4f 43 5f 48 44 52 3d 22 48 45  DME".DOC_HDR="HE
03b0: 41 44 45 52 22 0a 0a 23 20 54 68 65 73 65 20 66  ADER"..# These f
03c0: 69 6c 65 73 20 66 6f 6c 6c 6f 77 20 74 68 65 20  iles follow the 
03d0: 73 61 6d 65 20 63 6f 6e 76 65 6e 74 69 6f 6e 20  same convention 
03e0: 61 73 20 44 4f 43 53 2c 20 62 75 74 20 64 6f 6e  as DOCS, but don
03f0: 27 74 20 68 61 76 65 20 74 68 65 20 68 65 61 64  't have the head
0400: 65 72 0a 23 20 74 61 63 6b 65 64 20 6f 6e 74 6f  er.# tacked onto
0410: 20 74 68 65 6d 2e 0a 55 50 44 41 54 45 5f 56 41   them..UPDATE_VA
0420: 52 53 3d 22 22 0a 0a 23 20 54 68 69 73 20 73 63  RS=""..# This sc
0430: 72 69 70 74 20 69 73 20 65 78 65 63 75 74 65 64  ript is executed
0440: 20 69 6d 6d 65 64 69 61 74 65 6c 79 20 61 66 74   immediately aft
0450: 65 72 20 63 6f 70 79 69 6e 67 20 74 68 65 20 66  er copying the f
0460: 69 6c 65 73 0a 23 20 74 6f 20 61 20 74 65 6d 70  iles.# to a temp
0470: 20 64 69 72 65 63 74 6f 72 79 20 74 6f 20 61 74   directory to at
0480: 74 65 6d 70 74 20 74 6f 20 63 6f 6d 70 69 6c 65  tempt to compile
0490: 0a 42 45 46 4f 52 45 3d 22 62 75 69 6c 64 2f 70  .BEFORE="build/p
04a0: 72 65 2e 73 68 22 0a 0a 23 20 54 68 69 73 20 73  re.sh"..# This s
04b0: 63 72 69 70 74 20 69 73 20 65 78 65 63 75 74 65  cript is execute
04c0: 64 20 69 6d 6d 65 64 69 61 74 65 6c 79 20 70 72  d immediately pr
04d0: 69 6f 72 20 74 6f 20 63 72 65 61 74 69 6f 6e 20  ior to creation 
04e0: 6f 66 20 74 68 65 0a 23 20 74 61 72 62 61 6c 6c  of the.# tarball
04f0: 0a 41 46 54 45 52 3d 22 22 0a 0a 23 20 46 69 6c  .AFTER=""..# Fil
0500: 65 73 20 6d 61 74 63 68 69 6e 67 20 74 68 65 73  es matching thes
0510: 65 20 28 73 70 61 63 65 2d 73 65 70 65 72 61 74  e (space-seperat
0520: 65 64 29 20 70 61 74 74 65 72 6e 73 20 61 72 65  ed) patterns are
0530: 20 64 65 6c 65 74 65 64 0a 54 4d 50 53 3d 22 2a   deleted.TMPS="*
0540: 2e 6f 75 74 20 48 45 41 44 45 52 20 62 75 69 6c  .out HEADER buil
0550: 64 20 5f 46 4f 53 53 49 4c 5f 20 6d 61 6e 69 66  d _FOSSIL_ manif
0560: 65 73 74 20 6d 61 6e 69 66 65 73 74 2e 75 75 69  est manifest.uui
0570: 64 22 0a                                         d".