File: bootstrap

package info (click to toggle)
scim-qtimm 0.9.4-4
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 3,336 kB
  • ctags: 228
  • sloc: sh: 9,552; perl: 2,619; cpp: 1,767; makefile: 123
file content (20 lines) | stat: -rwxr-xr-x 617 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
if [ ! -d "admin" ]; then
  echo "Please press enter directly for the next question about the password"
  cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/scim login
  cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/scim co -P -d admin skim/admin
fi

if [ ! -d "admin" ]; then
  echo -e "ERROR: missing admin directory\n       please see README on how to bootstrap from CVS"
  exit
fi

gmake -f Makefile.cvs

if test "$1" = "release"; then
  echo "Cleaning files"
  find . -name .cvsignore | xargs rm -fr
  rm templates/ -fr
  find -name CVS | xargs rm -rf
  rm autom4te.cache *.kdev* stamp*.in -fr
fi