[gnome-panel/wip-geiger-builddir] libgnome-panel: fix builddir != srcdir



commit f997db4faea2e9cccc46faba6abf3ac7d7f11f27
Author: Sebastian Geiger <sbastig gmx net>
Date:   Sat Apr 18 13:18:47 2020 +0200

    libgnome-panel: fix builddir != srcdir
    
    This fixes a regression introduced by commit e31cb41a.
    
    Adding Makefile.am to gp-enum-types.{c,h} ensures that enum-types
    are also regenerated when the Makefile.am changes.

 libgnome-panel/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgnome-panel/Makefile.am b/libgnome-panel/Makefile.am
index 87e19cbcb..9626e9632 100644
--- a/libgnome-panel/Makefile.am
+++ b/libgnome-panel/Makefile.am
@@ -65,14 +65,14 @@ libgnome_panel_include_HEADERS = \
 
 ENUM_TYPES = \
        $(srcdir)/gp-applet.h \
-       gp-lockdown.h \
+       $(srcdir)/gp-lockdown.h \
        $(NULL)
 
-gp-enum-types.c: gp-enum-types.c.in gp-enum-types.h $(ENUM_TYPES)
+gp-enum-types.c: gp-enum-types.c.in gp-enum-types.h $(ENUM_TYPES) Makefile.am
        $(AM_V_GEN) $(GLIB_MKENUMS) --template $(srcdir)/gp-enum-types.c.in $(ENUM_TYPES) > \
                gp-enum-types.c.tmp && mv gp-enum-types.c.tmp gp-enum-types.c
 
-gp-enum-types.h: gp-enum-types.h.in $(ENUM_TYPES)
+gp-enum-types.h: gp-enum-types.h.in $(ENUM_TYPES) Makefile.am
        $(AM_V_GEN) $(GLIB_MKENUMS) --template $(srcdir)/gp-enum-types.h.in $(ENUM_TYPES) > \
                gp-enum-types.h.tmp && mv gp-enum-types.h.tmp gp-enum-types.h
 


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