File: bootstrap

package info (click to toggle)
clhep 2.1.4.1+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 10,004 kB
  • sloc: cpp: 50,094; sh: 6,694; makefile: 2,691; perl: 28
file content (29 lines) | stat: -rwxr-xr-x 534 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
20
21
22
23
24
25
26
27
28
29
#! /bin/sh

# turn on echo
set -x

# cleanup should not be necessary
# however, in some cases strange results are found if you do not start clean
rm -rf autom4te.cache
rm -f aclocal.m4 Makefile.in 
rm -f configure config.* depcomp install-sh missing mk*

# run autotool commands
aclocal 
automake --add-missing --copy
autoconf 

#run autotool commands in each subdirectory
for pkg in `ls`
do
  if [ -e $pkg/configure.ac ] 
  then
     cd $pkg
     ./bootstrap
     cd ..
  fi
done


# ready to make a source code distribution tarball