File: version.csh

package info (click to toggle)
exmh 1:2.9.0-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 4,216 kB
  • sloc: tcl: 38,046; perl: 1,647; makefile: 130; sh: 101; exp: 75; csh: 9; sed: 2
file content (19 lines) | stat: -rwxr-xr-x 526 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/csh

# To change the version, first edit the Makefile and
# change the version there, and frob the patterns in
# version.sed.  Then type "make version"

# You still want to add release notes to
# exmh.README and probably the other html files.

foreach f ( Makefile exmh.README lib/html/index.html lib/html/software.html )
    echo $f
    sed -f version.sed < $f > $f.new
    mv $f $f.old
    mv $f.new $f
    diff $f.old $f
end

echo "Edit lib/html/exmh.README.html by hand"
echo "Use PatchVersion to fix exmh.install"