[libdmapsharing] Add support for G_DEFINE_INTERFACE to check target in libdmapsharing/Makefile.am



commit 1c44afe9928b1709a56564abbdda879a98fca613
Author: W. Michael Petullo <mike flyn org>
Date:   Sun Nov 12 20:54:32 2017 -0500

    Add support for G_DEFINE_INTERFACE to check target in libdmapsharing/Makefile.am
    
    Signed-off-by: W. Michael Petullo <mike flyn org>

 libdmapsharing/Makefile.am |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libdmapsharing/Makefile.am b/libdmapsharing/Makefile.am
index 949cf1b..2bcc0f2 100644
--- a/libdmapsharing/Makefile.am
+++ b/libdmapsharing/Makefile.am
@@ -194,6 +194,10 @@ check:
 if HAVE_PEDANSEE
        echo    "[ignore]" > pedansee.conf
        echo -n "       name = " >> pedansee.conf
+       for i in $$(grep G_DEFINE_INTERFACE *.c | sed 's/[^,]*, \([^,]*\),.*/\1/g'); do \
+               echo -n $${i}_default_init\;; \
+               echo -n $${i}_get_type\;; \
+       done >> pedansee.conf
        for i in $$(grep G_DEFINE_TYPE *.c | sed 's/[^,]*, \([^,]*\),.*/\1/g'); do \
                echo -n $${i}_init\;; \
                echo -n $${i}_class_init\;; \


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