[devhelp/wip/tintou/gobject-introspection: 1/2] Clearly separate private and public sources
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp/wip/tintou/gobject-introspection: 1/2] Clearly separate private and public sources
- Date: Mon, 31 Oct 2016 16:03:27 +0000 (UTC)
commit dcac2cce9fcde473e68948370b478ae0c29960d7
Author: Corentin Noël <corentin elementary io>
Date: Sun Oct 30 03:19:40 2016 +0100
Clearly separate private and public sources
https://bugzilla.gnome.org/show_bug.cgi?id=770785
src/Makefile.am | 92 ++++++++++++++++++++++++++++++------------------------
1 files changed, 51 insertions(+), 41 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index dbe1eca..a018d99 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -44,47 +44,57 @@ devhelp_LDADD = \
lib_LTLIBRARIES = libdevhelp-3.la
-INST_H_FILES = \
- devhelp.h \
- dh-app.h \
- dh-assistant.h \
- dh-assistant-view.h \
- dh-book.h \
- dh-book-manager.h \
- dh-book-tree.h \
- dh-error.h \
- dh-keyword-model.h \
- dh-language.h \
- dh-link.h \
- dh-sidebar.h \
+libdevhelp_public_headers = \
+ devhelp.h \
+ dh-app.h \
+ dh-assistant.h \
+ dh-assistant-view.h \
+ dh-book.h \
+ dh-book-manager.h \
+ dh-book-tree.h \
+ dh-error.h \
+ dh-keyword-model.h \
+ dh-language.h \
+ dh-link.h \
+ dh-sidebar.h \
dh-window.h
-devhelpincludedir = $(includedir)/devhelp-3.0/devhelp
-devhelpinclude_HEADERS = $(INST_H_FILES)
-
-libdevhelp_3_la_SOURCES = \
- dh-app.c \
- dh-assistant.c \
- dh-assistant-view.c \
- dh-book.c \
- dh-book-manager.c \
- dh-book-tree.c \
- dh-common.c \
- dh-error.c \
- dh-keyword-model.c \
- dh-language.c \
- dh-link.c \
- dh-parser.c \
- dh-parser.h \
- dh-preferences.c \
- dh-preferences.h \
- dh-settings.c \
- dh-settings.h \
- dh-sidebar.c \
- dh-util.c \
- dh-util.h \
+libdevhelp_public_c_files = \
+ dh-app.c \
+ dh-assistant.c \
+ dh-assistant-view.c \
+ dh-book.c \
+ dh-book-manager.c \
+ dh-book-tree.c \
+ dh-common.c \
+ dh-error.c \
+ dh-keyword-model.c \
+ dh-language.c \
+ dh-link.c \
+ dh-sidebar.c \
dh-window.c
+libdevhelp_private_headers = \
+ dh-parser.h \
+ dh-preferences.h \
+ dh-settings.h \
+ dh-util.h
+
+libdevhelp_private_c_files = \
+ dh-parser.c \
+ dh-preferences.c \
+ dh-util.c \
+ dh-settings.c
+
+devhelpincludedir = $(includedir)/devhelp-3.0/devhelp
+devhelpinclude_HEADERS = $(libdevhelp_public_headers)
+
+libdevhelp_3_la_SOURCES = \
+ $(libdevhelp_public_headers) \
+ $(libdevhelp_public_c_files) \
+ $(libdevhelp_private_headers) \
+ $(libdevhelp_private_c_files)
+
# do not distribute generated files
nodist_libdevhelp_3_la_SOURCES = \
$(BUILT_SOURCES)
@@ -107,10 +117,10 @@ libdevhelp_3_la_LDFLAGS = \
-export-symbols-regex ^dh_ \
$(ZLIB_LDFLAGS)
-dh-enum-types.h: dh-enum-types.h.template $(INST_H_FILES) $(GLIB_MKENUMS)
- $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template dh-enum-types.h.template $(INST_H_FILES)) > $@
+dh-enum-types.h: dh-enum-types.h.template $(libdevhelp_public_headers) $(GLIB_MKENUMS)
+ $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template dh-enum-types.h.template
$(libdevhelp_public_headers)) > $@
-dh-enum-types.c: dh-enum-types.c.template $(INST_H_FILES) $(GLIB_MKENUMS)
- $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template dh-enum-types.c.template $(INST_H_FILES)) > $@
+dh-enum-types.c: dh-enum-types.c.template $(libdevhelp_public_headers) $(GLIB_MKENUMS)
+ $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template dh-enum-types.c.template
$(libdevhelp_public_headers)) > $@
DISTCLEANFILES = $(BUILT_SOURCES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]