Modified packaging-prep script to remove use of "rm -f *".
[samba.git] / packaging / Digital / package-prep
1 tar xvf skeleton.tar
2 ( cd /usr/local;
3         mv man man.orig;
4         mv samba samba.orig;
5         DIRNOW=`pwd1`;
6                 ln -sf $NOWDIR/usr/local/man man;
7                 ln -sf $NOWDIR/usr/local/samba samba; )
8 gunzip samba-2.0.0.tar.gz
9 tar xvf samba-2.0.0.tar
10 cd samba-2.0.0/source
11 ./configure
12 make
13 make install
14 cd $NOWDIR/usr/local/samba
15 cp -pr man ../
16 rm -rf man
17 cd $NOWDIR
18 tar cvf install.tar usr var
19 cd samba-2.0.0/source
20 rm -f ../source/bin/*
21 make clean
22 cd ../..
23 tar cvf samba-2.0.0.tar samba-2.0.0
24 rm -rf samba-2.0.0
25 rm -rf usr var
26 cd ..
27 find samba-2.0.0 -print | cpio -o > samba-2.0.0-OSF1-v4.0-alpha.cpio
28 gzip samba-2.0.0-OSF1-v4.0-alpha.cpio
29 cd samba-2.0.0
30 tar xcf install.tar