# name: mount.smb -- interface between mount and smbmount
# author: Ch. L. Spiel (cspiel@physik.tu-muenchen.de)
-# $Id: mount.smb,v 1.1 1998/04/13 12:31:10 jht Exp $
# bash version: 1.14.7(1)
# mount version: 2.7i
#!/usr/bin/perl
#
-# $Source: /data/src/mirror/cvs/samba/examples/printer-accounting/hp5-redir,v $
-# $Id: hp5-redir,v 1.1 1996/07/23 03:30:56 samba-bugs Exp $
-#
# 0 == stdin == docuement
# 1 == stdout == printer
# 2 == stderr == logging
#!/usr/bin/perl
#
-# $Source: /data/src/mirror/cvs/samba/examples/printer-accounting/lp-acct,v $
-# $Id: lp-acct,v 1.1 1996/07/23 03:30:56 samba-bugs Exp $
-#
# 0 == stdin == docuement
# 1 == stdout == printer
# 2 == stderr == logging
}
close IGNORES;
+# We don't want the files listed in .cvsignore in the source/include tree
+open(IGNORES,"../src/source/include/.cvsignore") || die "Unable to open include/.cvsignore file\n";
+while (<IGNORES>) {
+ chop;
+ $ignores{$_}++;
+}
+close IGNORES;
+
# get the names of all the binary files to be installed
open(MAKEFILE,"../../source/Makefile") || die "Unable to open Makefile\n";
@makefile = <MAKEFILE>;
}
if (@progs) {
@progs[0] =~ s/^.*\=//;
+ @progs[0] =~ s/\$\(\S+\)\s//g;
@progs = split(' ',@progs[0]);
}
if (@mprogs) {
}
if (@scripts) {
@scripts[0] =~ s/^.*\=//;
+ @scripts[0] =~ s/\$\(srcdir\)\///g;
@scripts = split(' ',@scripts[0]);
}
if (@codepage) {
cd ../../docs/manpages
for FILE in $FILES ; do
+ if [ "$FILE" = "smbmnt.8" ]; then continue; fi;
+ if [ "$FILE" = "smbmount.8" -o "$FILE" = "smbumount.8" ]; then continue; fi;
+ if [ "$FILE" = "smbrun.1" ]; then continue; fi;
neqn $FILE | tbl | nroff -man > ../../packaging/SGI/catman/`basename $FILE`
pack -f ../../packaging/SGI/catman/`basename $FILE`
done