File: all

package info (click to toggle)
es 0.90beta1-9
  • links: PTS
  • area: main
  • in suites: woody
  • size: 748 kB
  • ctags: 981
  • sloc: ansic: 8,079; sh: 1,536; makefile: 152; yacc: 109
file content (31 lines) | stat: -rw-r--r-- 426 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
22
23
24
25
26
27
28
29
30
31
#!/bin/sh
# personal script for maintainer...


case "$1" in 

	build)
dpkg-buildpackage -rfakeroot
;;

	check)
for f in debian/*copyright; do
	d=`pwd | xargs basename | sed 's/-.*//'`
	p=`basename $f .copyright | sed "s/copyright/$d/"`
	set ../${p}_`head -1 debian/changelog | sed 's/.*(//; s/).*//'`*.d??
	echo lintian $*
	lintian $*
done
;;

	all|"")
"$0" build
"$0" check
;;

	*)
>&2 echo $0 "[build|check|all]"
;;

esac