File: bootstrap

package info (click to toggle)
a2ps 1%3A4.14-1.1%2Bdeb6u1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 12,324 kB
  • ctags: 4,908
  • sloc: ansic: 26,659; sh: 13,155; lex: 2,286; perl: 1,156; yacc: 757; makefile: 605; lisp: 398; ada: 263; objc: 189; f90: 109; ml: 85; sql: 74; pascal: 57; modula3: 33; haskell: 32; sed: 30; java: 29; python: 24
file content (30 lines) | stat: -rwxr-xr-x 585 bytes parent folder | download | duplicates (8)
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
#! /bin/sh
set -e
contrib_scripts="card fixps pdiff psmandup psset"

echo "Bootstrapping a2ps..."

# These are created by the Makefile, which is missing for the time
# being.  They are needed by configure.
for i in $contrib_scripts
do
  touch contrib/$i.in
done

# Autoconf, Automake, Gettext.
autoreconf --force --install --verbose

# Configure and make the missing guys.
./configure

# Configure was using card.in etc.  But they were probably fake ones.
# Remove them, and let make do the rest.
(
  cd contrib
  for i in $contrib_scripts
  do
    rm -f $i $i.in
  done
  make
)
make