[go: up one dir, main page]

File: bootstrap

package info (click to toggle)
freedink-dfarc 3.14-4
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 1,716 kB
  • sloc: sh: 4,172; cpp: 2,631; makefile: 110
file content (40 lines) | stat: -rwxr-xr-x 1,177 bytes parent folder | download | duplicates (7)
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
#!/bin/sh
# Generates ./configure, Makefile.in's and tools

# Copyright (C) 2007, 2008  Sylvain Beucler

# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.


# Stop at first error:
set -e
# Print commands:
set -x

if [ "x$1" = xclean ]; then
    test ! -f Makefile || make maintainer-clean || true

    # Generated by aclocal.
    rm -f aclocal.m4
    # Generated by autoheader.
    rm -f config.h.in
    # Generated by autoconf.
    rm -f configure
    rm -rf autom4te.cache/
    # Generated or brought in by automake.
    find -name "Makefile.in" | xargs -r rm
    find autotools/ -type l | xargs -r rm
    rm -f INSTALL
    # Generated or brought in by intltoolize
    rm -f po/Makefile.in.in
    exit
fi

# Enable no-portability to disable GNU make extensions warnings, such as $(shell)
#if autoreconf --install --symlink --warnings=all --warnings=no-portability $*
if autoreconf --install --symlink --warnings=all $* && intltoolize --force
then echo "You now can run ./configure"
else echo "*** Error: please check the messages above. ***"
fi