summaryrefslogtreecommitdiff
path: root/automaint.sh
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2016-11-29 13:30:55 +0100
committerStef Walter <stefw@redhat.com>2016-11-29 13:32:23 +0100
commit561ee23f218c7a68a2ef46525502f978e56fc1bb (patch)
tree8deb8569f109a0e9dea11736f56ad5e47f42dc11 /automaint.sh
parenta96f354c3068edb6c8ac80ae6d9a6611651145d7 (diff)
downloadp11-kit-master.tar.gz
MOVED TO: https://github.com/p11-glue/p11-kitHEADmaster
This repository has moved to GitHub to allow further contributions and more flexibility who can merge changes. More details here: https://lists.freedesktop.org/archives/p11-glue/2016-November/000626.html
Diffstat (limited to 'automaint.sh')
-rwxr-xr-xautomaint.sh52
1 files changed, 0 insertions, 52 deletions
diff --git a/automaint.sh b/automaint.sh
deleted file mode 100755
index 8859dcc..0000000
--- a/automaint.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-
-set -e
-
-NOCONFIGURE=1 ./autogen.sh
-
-ARGS="--enable-strict --enable-debug"
-CROSS="x86_64-w64-mingw32"
-
-configure()
-(
- build=$1
- shift
-
- pwd=$(pwd)
- mkdir -p $build
- cd $build
- echo "Configuring for: $build" >&2
- echo $pwd/configure "$@" >&2
- $pwd/configure "$@"
-)
-
-# Configure the local build. To control which arguments are used create a
-# CONFIG_SITE script as directed in the autoconf documentation:
-# http://www.gnu.org/software/autoconf/manual/autoconf.html#Site-Defaults
-configure ./build --prefix=/usr --enable-doc --enable-coverage $ARGS "$@"
-
-# Configure the cross builds
-for cross in $CROSS; do
- configure ./$cross --prefix=/opt/$cross --host=$cross $ARGS "$@"
-done
-
-# B
-
-(
- echo "CROSS = $CROSS"
-
- for target in all check clean distclean; do
- echo "$target:"
- echo ' $(MAKE) -C ./build' $target
- echo ' @for dir in $(CROSS); do \'
- echo ' $(MAKE) -C ./$$dir' $target '; \'
- echo ' done'
- done
-
- for target in distcheck memcheck leakcheck hellcheck install upload-coverage \
- coverage upload-doc upload-release transifex; do
- echo "$target:"
- echo ' $(MAKE) -C ./build' $target
- done
-
-) > ./makefile