File: prepare-build.sh

package info (click to toggle)
cl-asdf 1.86-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 352 kB
  • ctags: 178
  • sloc: lisp: 1,193; sh: 83; makefile: 54
file content (21 lines) | stat: -rw-r--r-- 469 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

[ -d debian ] || exit 1

[ $(pwd | sed 's/.*\/\([^\/]*\)/\1/') == "asdf-cvs-master" ]  || exit 3

set -e

cvs -q -z3  update -APd .

cvs2cl --stdout > changelog
VISUAL=nvi EDITOR=nvi dch --increment --preserve 
DIR=`pwd`

rm -rf ../asdf || true
find . -type f -depth | cpio --pass-through --make-directories --link --preserve-modification-time ../asdf
cd ../asdf

find . -name CVS -print0 | xargs -0 rm -rvf
find . -name .cvsignore -print0 | xargs -0 rm -v