[gnome-continuous] build: Import Makefile-decls.am from ostree



commit c342375aa0a23faa69f4c866ae559b7ed4ccf9c3
Author: Colin Walters <walters verbum org>
Date:   Fri Jan 3 11:39:57 2014 -0500

    build: Import Makefile-decls.am from ostree
    
    I'll be sharing this across my projects.

 Makefile-decls.am |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 Makefile.am       |   29 +++++++----------------------
 2 files changed, 56 insertions(+), 22 deletions(-)
---
diff --git a/Makefile-decls.am b/Makefile-decls.am
new file mode 100644
index 0000000..4d02f02
--- /dev/null
+++ b/Makefile-decls.am
@@ -0,0 +1,49 @@
+# Copyright (C) 2011,2014 Colin Walters <walters verbum org>
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the
+# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+# Common variables
+ACLOCAL_AMFLAGS =
+AM_CPPFLAGS =
+AM_CFLAGS =
+DISTCHECK_CONFIGURE_FLAGS =
+SUBDIRS =
+NULL = 
+INSTALL_DATA_HOOKS =
+BUILT_SOURCES =
+MANPAGES =
+CLEANFILES =
+EXTRA_DIST =
+bin_PROGRAMS =
+sbin_PROGRAMS =
+bin_SCRIPTS =
+lib_LTLIBRARIES =
+libexec_PROGRAMS =
+noinst_LTLIBRARIES =
+noinst_PROGRAMS =
+privlibdir = $(pkglibdir)
+privlib_LTLIBRARIES =
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA =
+INTROSPECTION_GIRS = 
+girdir = $(datadir)/gir-1.0
+gir_DATA =
+typelibdir = $(libdir)/girepository-1.0
+typelib_DATA =
+
+# This is a special facility to chain together hooks easily
+INSTALL_DATA_HOOKS =
+install-data-hook: $(INSTALL_DATA_HOOKS)
diff --git a/Makefile.am b/Makefile.am
index 9e1e110..7d06b3a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,30 +15,17 @@
 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
-ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
-AM_CPPFLAGS = -DDATADIR='"$(datadir)"' -DLIBEXECDIR='"$(libexecdir)"'
-AM_CFLAGS = $(WARN_CFLAGS)
-
-NULL = 
-BUILT_SOURCES =
-MANPAGES =
-CLEANFILES =
-EXTRA_DIST =
-bin_PROGRAMS =
-sbin_PROGRAMS =
-bin_SCRIPTS =
-libexec_PROGRAMS =
-noinst_LTLIBRARIES =
-noinst_PROGRAMS =
-privlibdir = $(pkglibdir)
-privlib_LTLIBRARIES =
-INSTALL_DATA_HOOKS =
+include Makefile-decls.am
+
+ACLOCAL_AMFLAGS += -I m4 ${ACLOCAL_FLAGS}
+AM_CPPFLAGS += -DDATADIR='"$(datadir)"' -DLIBEXECDIR='"$(libexecdir)"'
+AM_CFLAGS += $(WARN_CFLAGS)
 
 include $(INTROSPECTION_MAKEFILE)
 INTROSPECTION_GIRS =
 
-girdir= $(pkgdatadir)/gir-1.0
-typelibdir= $(pkglibdir)/girepository-1.0
+girdir = $(pkgdatadir)/gir-1.0
+typelibdir = $(pkglibdir)/girepository-1.0
 
 gir_DATA = $(INTROSPECTION_GIRS)
 typelib_DATA = $(gir_DATA:.gir=.typelib)
@@ -53,7 +40,5 @@ include Makefile-ostbuild.am
 include Makefile-tests.am
 include Makefile-gsystem-introspection.am
 
-install-data-hook: $(INSTALL_DATA_HOOKS)
-
 release-tag:
        git tag -m "Release $(VERSION)" v$(VERSION)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]