]> granicus.if.org Git - graphviz/commitdiff
add ci/out-of-source-make.sh
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 21 Nov 2021 14:04:53 +0000 (15:04 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 7 Dec 2021 06:35:01 +0000 (07:35 +0100)
This will be used in an upcoming commit to create 2-step autotools
build jobs for MinGW.

ci/out-of-source-make.sh [new file with mode: 0644]

diff --git a/ci/out-of-source-make.sh b/ci/out-of-source-make.sh
new file mode 100644 (file)
index 0000000..bacec2a
--- /dev/null
@@ -0,0 +1,23 @@
+#!/usr/bin/env bash
+
+# this script does something close to the work flow end users may follow when
+# building Graphviz
+
+set -x
+set -e
+set -o pipefail
+
+# output some info for debugging
+uname -rms
+cat /etc/os-release
+
+GV_VERSION=$(cat GRAPHVIZ_VERSION)
+
+# go to the configured directory
+cd build
+
+# build Graphviz
+make
+
+# install Graphviz
+make install