/etc/root/vmc/fl_makedist.sh is in libroot-montecarlo-vmc-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | #!/bin/sh
# $Id$
# Script to produce source distribution and optionally binary distribution fluka_vmc.
# Called by main Makefile.
#
# According to:
# $ROOTSYS/build/unix/makedist.sh
# Author: Fons Rademakers, 29/2/2000
#
# Usage: makedist.sh [gcc_version] [lib]
#
# By I.Hrivnacova, 12/12/2007
CURDIR=`pwd`
# gmake is called from fluka_vmc/source
cd ../..
if [ "x$1" = "xlib" ]; then
GCC_VERS=""
MAKELIB="fluka_vmc/lib"
elif [ "x$2" = "xlib" ]; then
GCC_VERS=$1
MAKELIB="fluka_vmc/lib"
else
GCC_VERS=$1
fi
VERSION=`cat fluka_vmc/version_number`
MACHINE=`root-config --arch`
if [ "x$MAKELIB" = "xfluka_vmc/lib" ]; then
if [ "x$GCC_VERS" = "x" ]; then
TYPE=$MACHINE.
else
TYPE=$MACHINE.$GCC_VERS.
fi
else
TYPE=""
fi
TARFILE=fluka_vmc.$VERSION.$TYPE"tar"
TAR=`which gtar`
dum=`echo $TAR | grep "no gtar"`
stat=$?
if [ "$TAR" = '' ] || [ $stat = 0 ]; then
TAR="tar cvf"
rm -f $TARFILE.gz
EXCLUDE=
else
TAR=$TAR" zcvf"
rm -f $TARFILE.gz
TARFILE=$TARFILE".gz"
EXCLUDE="--exclude .svn"
fi
$TAR $TARFILE $EXCLUDE fluka_vmc/README fluka_vmc/"history" fluka_vmc/version_number \
fluka_vmc/input fluka_vmc/"source" $MAKELIB
cd $CURDIR
exit 0
|