[gnumeric] distcheck: allow specifying where component should be installed.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] distcheck: allow specifying where component should be installed.
- Date: Wed, 2 May 2018 00:20:12 +0000 (UTC)
commit 9159cc2289ad0fd04eaaeb109ab2cc893c794a50
Author: Morten Welinder <terra gnome org>
Date: Tue May 1 20:19:17 2018 -0400
distcheck: allow specifying where component should be installed.
This is probably useful for the build process only.
Makefile.am | 6 +++++-
configure.ac | 12 ++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 6c88f0c..d990acc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,11 +8,15 @@ change_logs = ChangeLog
CLEANFILES = gnumeric.desktop gnumeric.keys gnumeric.appdata.xml
DISTCLEANFILES = intltool-extract intltool-merge intltool-update $(pkgconfig_DATA)
+# Flags for distcheck, mostly to install things that nominally go under the
+# directories of other packages into the dist dir instead. (They won't work
+# there, but that's ok.)
DISTCHECK_CONFIGURE_FLAGS = --without-perl --without-python \
--enable-introspection=auto \
--with-gir-dir=\$${datadir}/gir-1.0 \
--with-typelib-dir=\$${libdir}/girepository-1.0 \
- --with-gi-overrides-dir=\$${libdir}/gi/overrides
+ --with-gi-overrides-dir=\$${libdir}/gi/overrides \
+ --with-goffice-plugins-dir=\$${libdir}/goffice
DIST_SAMPLES = $(shell (cd $(srcdir)/test && perl -e 'use GnumericTest; foreach
(&GnumericTest::corpus("dist")) { print "$$_\n"; }'))
diff --git a/configure.ac b/configure.ac
index fa0b6aa..95822b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1134,6 +1134,18 @@ AC_ARG_WITH([gi-overrides-dir],
)
AC_SUBST(GIOVERRIDESDIR)
+AC_ARG_WITH([goffice-plugins-dir],
+ AS_HELP_STRING(
+ [--with-goffice-plugins-dir],
+ [
+ path to goffice plugins
+ (automatically detected via pkg-config)
+ ]
+ ),
+ [GOFFICE_PLUGINS_DIR=$withval],
+ [:]
+)
+
dnl **************************************************
dnl * Config defaults
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]