File: mkdist

package info (click to toggle)
root-tail 1.2-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 124 kB
  • ctags: 138
  • sloc: ansic: 1,269; makefile: 63; sh: 11
file content (19 lines) | stat: -rwxr-xr-x 485 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

VERSION=$(perl -ne 'print $1 if /VERSION \"(.*)\"/' config.h)

DISTDIR=root-tail-$VERSION

../fcrackzip/myman2html root-tail.man | tail +3 | tac | tail +7 | tac >/root/www/nh/root-tail.man.nh

rm -rf $DISTDIR
mkdir $DISTDIR
cp -Rlpv Changes Imakefile Makefile.simple README config.h debian mkdist root-tail.c root-tail.man $DISTDIR
rm -rf $DISTDIR/debian/CVS/
chown -R root.root $DISTDIR
chmod u=rwX,go=rX -R  $DISTDIR

tar cvf $DISTDIR.tar $DISTDIR
gzip -9f $DISTDIR.tar