[gnome-applets/wip/muktupavels/per-applet-notes-file: 1/2] build: rebuild resource file when Makefile.am changed



commit f5c49083cf18e7c737153e9e9c02372f37bfd2de
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Apr 7 23:28:02 2020 +0300

    build: rebuild resource file when Makefile.am changed

 gnome-applets/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-applets/Makefile.am b/gnome-applets/Makefile.am
index 8c7811814..706e613f9 100644
--- a/gnome-applets/Makefile.am
+++ b/gnome-applets/Makefile.am
@@ -194,7 +194,7 @@ ui_files += \
        $(NULL)
 endif
 
-gnome-applets.gresource.xml: Makefile.am Makefile
+gnome-applets.gresource.xml: Makefile.am
        $(AM_V_GEN) echo '<?xml version="1.0" encoding="UTF-8"?>' > $@; \
                echo '<gresources>' >> $@; \
                echo "  <gresource prefix=\"$(GRESOURCE_PREFIX)/icons\">" >> $@; \
@@ -217,7 +217,7 @@ resource_files = \
                --generate-dependencies \
                $(builddir)/gnome-applets.gresource.xml)
 
-ga-resources.c: gnome-applets.gresource.xml $(resource_files)
+ga-resources.c: gnome-applets.gresource.xml Makefile.am $(resource_files)
        $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) \
                --target=$@ --sourcedir=$(srcdir) \
                --generate --c-name ga $<


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