From ccbf3c4bb067bc61ea8e3305235d182c76570865 Mon Sep 17 00:00:00 2001 From: Jehan Date: Mon, 1 Aug 2022 21:03:57 +0200 Subject: [PATCH] app, libgimp*: add various stamp files to CLEANFILES. Fixes: > ERROR: files left in build directory after distclean: --- app/config/Makefile.am | 2 +- app/core/Makefile.am | 1 + app/display/Makefile.am | 2 +- app/gegl/Makefile.am | 2 +- app/operations/Makefile.am | 2 +- app/paint/Makefile.am | 2 +- app/plug-in/Makefile.am | 2 +- app/text/Makefile.am | 2 +- app/tools/Makefile.am | 2 +- app/widgets/Makefile.am | 1 + libgimpbase/Makefile.am | 2 +- libgimpconfig/Makefile.am | 2 +- libgimpwidgets/Makefile.am | 1 + 13 files changed, 13 insertions(+), 10 deletions(-) diff --git a/app/config/Makefile.am b/app/config/Makefile.am index faaa21e1a0..8c5b138aeb 100644 --- a/app/config/Makefile.am +++ b/app/config/Makefile.am @@ -139,7 +139,7 @@ CLEANFILES = $(EXTRA_PROGRAMS) foorc # rules to generate built sources # # setup autogeneration dependencies -gen_sources = xgen-cec +gen_sources = stamp-config-enums.h xgen-cec CLEANFILES += $(gen_sources) xgen-cec: $(srcdir)/config-enums.h $(GIMP_MKENUMS) Makefile.am diff --git a/app/core/Makefile.am b/app/core/Makefile.am index 61d5d0ba67..05504e5a2d 100644 --- a/app/core/Makefile.am +++ b/app/core/Makefile.am @@ -527,6 +527,7 @@ EXTRA_DIST = \ gen_sources = \ gimp-core-pixbufs.c \ gimp-core-pixbufs.h \ + stamp-core-enums.h \ xgen-gmh \ xgen-gmc \ xgen-cec diff --git a/app/display/Makefile.am b/app/display/Makefile.am index fbea77b482..cb30eea9b7 100644 --- a/app/display/Makefile.am +++ b/app/display/Makefile.am @@ -200,7 +200,7 @@ libappdisplay_a_SOURCES = \ # rules to generate built sources # # setup autogeneration dependencies -gen_sources = xgen-dec +gen_sources = stamp-display-enums.h xgen-dec CLEANFILES = $(gen_sources) xgen-dec: $(srcdir)/display-enums.h $(GIMP_MKENUMS) Makefile.am diff --git a/app/gegl/Makefile.am b/app/gegl/Makefile.am index 8f9d2adec7..c52a789853 100644 --- a/app/gegl/Makefile.am +++ b/app/gegl/Makefile.am @@ -71,7 +71,7 @@ libappgegl.a: libappgegl-generic.a \ # rules to generate built sources # # setup autogeneration dependencies -gen_sources = xgen-ggec +gen_sources = stamp-gimp-gegl-enums.h xgen-ggec CLEANFILES = $(gen_sources) xgen-ggec: $(srcdir)/gimp-gegl-enums.h $(GIMP_MKENUMS) Makefile.am diff --git a/app/operations/Makefile.am b/app/operations/Makefile.am index 5b2facc29b..7537ac99ea 100644 --- a/app/operations/Makefile.am +++ b/app/operations/Makefile.am @@ -112,7 +112,7 @@ libappoperations_a_SOURCES = \ # rules to generate built sources # # setup autogeneration dependencies -gen_sources = xgen-oec +gen_sources = stamp-operations-enums.h xgen-oec CLEANFILES = $(gen_sources) xgen-oec: $(srcdir)/operations-enums.h $(GIMP_MKENUMS) Makefile.am diff --git a/app/paint/Makefile.am b/app/paint/Makefile.am index b9248121d1..df3efd75a8 100644 --- a/app/paint/Makefile.am +++ b/app/paint/Makefile.am @@ -97,7 +97,7 @@ libapppaint_a_SOURCES = $(libapppaint_a_built_sources) $(libapppaint_a_sources) # rules to generate built sources # # setup autogeneration dependencies -gen_sources = xgen-pec +gen_sources = stamp-paint-enums.h xgen-pec CLEANFILES = $(gen_sources) xgen-pec: $(srcdir)/paint-enums.h $(GIMP_MKENUMS) Makefile.am diff --git a/app/plug-in/Makefile.am b/app/plug-in/Makefile.am index b1944f0cf2..e2df71eb39 100644 --- a/app/plug-in/Makefile.am +++ b/app/plug-in/Makefile.am @@ -75,7 +75,7 @@ libappplug_in_a_SOURCES = \ # rules to generate built sources # # setup autogeneration dependencies -gen_sources = xgen-pec +gen_sources = stamp-plug-in-enums.h xgen-pec CLEANFILES = $(EXTRA_PROGRAMS) $(gen_sources) xgen-pec: $(srcdir)/plug-in-enums.h $(GIMP_MKENUMS) Makefile.am diff --git a/app/text/Makefile.am b/app/text/Makefile.am index 416b58e3f5..f34bb21acd 100644 --- a/app/text/Makefile.am +++ b/app/text/Makefile.am @@ -52,7 +52,7 @@ libapptext_a_SOURCES = $(libapptext_a_built_sources) $(libapptext_a_sources) # rules to generate built sources # # setup autogeneration dependencies -gen_sources = xgen-tec +gen_sources = stamp-text-enums.h xgen-tec CLEANFILES = $(gen_sources) xgen-tec: $(srcdir)/text-enums.h $(GIMP_MKENUMS) Makefile.am diff --git a/app/tools/Makefile.am b/app/tools/Makefile.am index 7fcb4467fb..455d0cf8e9 100644 --- a/app/tools/Makefile.am +++ b/app/tools/Makefile.am @@ -251,7 +251,7 @@ libapptools_a_SOURCES = $(libapptools_a_built_sources) $(libapptools_a_sources) # rules to generate built sources # # setup autogeneration dependencies -gen_sources = xgen-tec +gen_sources = stamp-tools-enums.h xgen-tec CLEANFILES = $(gen_sources) xgen-tec: $(srcdir)/tools-enums.h $(GIMP_MKENUMS) Makefile.am diff --git a/app/widgets/Makefile.am b/app/widgets/Makefile.am index 9422338dca..26a7adf516 100644 --- a/app/widgets/Makefile.am +++ b/app/widgets/Makefile.am @@ -485,6 +485,7 @@ libappwidgets_a_SOURCES = \ gen_sources = \ gimp-tool-cursors.c \ gimp-tool-cursors.h \ + stamp-widgets-enums.h \ xgen-wec CLEANFILES = $(gen_sources) diff --git a/libgimpbase/Makefile.am b/libgimpbase/Makefile.am index 7219446785..9074dc9b24 100644 --- a/libgimpbase/Makefile.am +++ b/libgimpbase/Makefile.am @@ -181,7 +181,7 @@ EXTRA_PROGRAMS = test-cpu-accel # rules to generate built sources # -gen_sources = xgen-bec xgen-cec +gen_sources = stamp-gimpbaseenums.h stamp-gimpcompatenums.h xgen-bec xgen-cec CLEANFILES = $(EXTRA_PROGRAMS) $(gen_sources) xgen-bec: $(srcdir)/gimpbaseenums.h $(GIMP_MKENUMS) Makefile.am diff --git a/libgimpconfig/Makefile.am b/libgimpconfig/Makefile.am index ce489fe696..4271ae63f1 100644 --- a/libgimpconfig/Makefile.am +++ b/libgimpconfig/Makefile.am @@ -104,7 +104,7 @@ uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib # rules to generate built sources # -gen_sources = xgen-cec +gen_sources = stamp-gimpconfigenums.h xgen-cec CLEANFILES = $(gen_sources) xgen-cec: $(srcdir)/gimpconfigenums.h $(GIMP_MKENUMS) Makefile.am diff --git a/libgimpwidgets/Makefile.am b/libgimpwidgets/Makefile.am index 70337db14d..34514e1435 100644 --- a/libgimpwidgets/Makefile.am +++ b/libgimpwidgets/Makefile.am @@ -172,6 +172,7 @@ gen_sources = \ gimp-color-picker-cursors.h \ gimp-icon-pixbufs.c \ gimp-icon-pixbufs.h \ + stamp-gimpwidgetsenums.h \ xgen-wec \ xgen-wmh \ xgen-wmc