[devhelp] build: do not build dh-resources.h



commit 77d4f84a6ef7d28087a4ee359837b6cf1df2544c
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed May 10 14:44:30 2017 +0200

    build: do not build dh-resources.h
    
    The dh_get_resource() function is used nowhere.

 docs/reference/Makefile.am |    1 -
 src/Makefile.am            |    3 ---
 2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 89c5042..505171e 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -54,7 +54,6 @@ IGNORE_HFILES = \
        dh-language.h \
        dh-parser.h \
        dh-preferences.h \
-       dh-resources.h \
        dh-settings.h \
        dh-util.h \
        dh-window.h
diff --git a/src/Makefile.am b/src/Makefile.am
index 093a455..5706e31 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -62,7 +62,6 @@ libdevhelp_built_sources =                    \
        $(libdevhelp_built_public_headers)      \
        $(libdevhelp_built_public_c_files)      \
        dh-resources.c                          \
-       dh-resources.h                          \
        $(NULL)
 
 app_headers =                  \
@@ -167,8 +166,6 @@ resource_files =            \
 
 dh-resources.c: dh.gresource.xml $(resource_files)
        $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source --c-name dh 
$(srcdir)/dh.gresource.xml
-dh-resources.h: dh.gresource.xml $(resource_files)
-       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-header --c-name dh 
$(srcdir)/dh.gresource.xml
 
 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)) > $@


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