forked from LibreDWG/libredwg
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathautogen.sh
More file actions
26 lines (24 loc) · 661 Bytes
/
autogen.sh
File metadata and controls
26 lines (24 loc) · 661 Bytes
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
# autogen.sh
#
# Usage: sh autogen.sh [-f]
# Run this in the top directory to regenerate all the files.
# Option "-f" means forcefully create symlinks for missing files
# (by default: copies are made only if necessary).
#
# Tested with:
# - autoconf (GNU Autoconf) 2.65
# - automake (GNU automake) 1.11.1
# - ltmain.sh (GNU libtool) 2.2.6b
set -x
rm -rf autom4te.cache config.status
if test -d .git -a -f build-aux/git-version-gen
then
git fetch --tags
rm .tarball-version
v=`build-aux/git-version-gen .tarball-version`
echo $v >.tarball-version
echo $v >.version
fi
set -e
autoreconf --install --symlink "$@" -I m4
# autogen.sh ends here