[Xfce4-commits] [xfce/libxfce4util] 01/01: Allow everyone to build introspection files (Bug #13638)
noreply at xfce.org
noreply at xfce.org
Tue Jun 13 02:21:34 CEST 2017
This is an automated email from the git hooks/post-receive script.
e r i c p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/libxfce4util.
commit cfd26455a732d955509e0e0f75d0b6b741e23ca7
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Tue Jun 13 03:20:02 2017 +0300
Allow everyone to build introspection files (Bug #13638)
Move the introspection building outside of maintainer mode so
everyone can use it.
---
libxfce4util/Makefile.am | 54 +++++++++++++++++++++++++-----------------------
1 file changed, 28 insertions(+), 26 deletions(-)
diff --git a/libxfce4util/Makefile.am b/libxfce4util/Makefile.am
index 7439171..f3cc4dd 100644
--- a/libxfce4util/Makefile.am
+++ b/libxfce4util/Makefile.am
@@ -1,5 +1,7 @@
# $Id$
+CLEANFILES =
+
AM_CPPFLAGS = \
-I$(top_srcdir) \
-DDEFAULT_XDG_CACHE_HOME=\"~/.cache\" \
@@ -80,32 +82,6 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libxfce4util-1.0.pc
-##
-## Rules to auto-generate built sources
-##
-## This is a bit tricky with automake, and non-trivial to implement. The
-## rules below seem to work fine and don't seem to break the build, but
-## they are only enabled in maintainer mode, so arbitrary users don't get
-## trapped in automake's oddities. Therefore we ship the autogenerated
-## files as part of the dist tarball.
-##
-if MAINTAINER_MODE
-CLEANFILES = \
- actual-abi \
- expected-abi
-
-DISTCLEANFILES = \
- $(libxfce4util_built_sources)
-
-BUILT_SOURCES = \
- $(libxfce4util_built_sources)
-
-libxfce4util-alias.h: make-libxfce4util-alias.pl libxfce4util.symbols
- $(PERL) $(srcdir)/make-libxfce4util-alias.pl < $(srcdir)/libxfce4util.symbols > libxfce4util-alias.h
-
-libxfce4util-aliasdef.c: make-libxfce4util-alias.pl libxfce4util.symbols
- $(AM_V_GEN) $(PERL) $(srcdir)/make-libxfce4util-alias.pl -def < $(srcdir)/libxfce4util.symbols > libxfce4util-aliasdef.c
-
include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ENV = CC="$(CC)"
@@ -139,6 +115,32 @@ typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
CLEANFILES += $(gir_DATA) $(typelib_DATA)
endif
+##
+## Rules to auto-generate built sources
+##
+## This is a bit tricky with automake, and non-trivial to implement. The
+## rules below seem to work fine and don't seem to break the build, but
+## they are only enabled in maintainer mode, so arbitrary users don't get
+## trapped in automake's oddities. Therefore we ship the autogenerated
+## files as part of the dist tarball.
+##
+if MAINTAINER_MODE
+CLEANFILES += \
+ actual-abi \
+ expected-abi
+
+DISTCLEANFILES = \
+ $(libxfce4util_built_sources)
+
+BUILT_SOURCES = \
+ $(libxfce4util_built_sources)
+
+libxfce4util-alias.h: make-libxfce4util-alias.pl libxfce4util.symbols
+ $(PERL) $(srcdir)/make-libxfce4util-alias.pl < $(srcdir)/libxfce4util.symbols > libxfce4util-alias.h
+
+libxfce4util-aliasdef.c: make-libxfce4util-alias.pl libxfce4util.symbols
+ $(AM_V_GEN) $(PERL) $(srcdir)/make-libxfce4util-alias.pl -def < $(srcdir)/libxfce4util.symbols > libxfce4util-aliasdef.c
+
endif
# required for gtk-doc
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list