[glib] add .SECONDARY: rule to preserve generated schemas



commit d818bebf4949617fdf5ffc7833c8f87ccca5c1a1
Author: Ryan Lortie <desrt desrt ca>
Date:   Fri May 21 20:08:49 2010 -0400

    add .SECONDARY: rule to preserve generated schemas
    
    If the .gschema.xml file was generated as the result of an implicit make
    rule then make would 'rm' it after creating the validity stamp.  This
    would cause 'make install' to fail.

 m4macros/gsettings.m4 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/m4macros/gsettings.m4 b/m4macros/gsettings.m4
index 73a7e15..329700d 100644
--- a/m4macros/gsettings.m4
+++ b/m4macros/gsettings.m4
@@ -34,6 +34,8 @@ all-am: $(gsettings_SCHEMAS:.xml=.valid)
 uninstall-am: uninstall-gsettings-schemas
 install-data-am: install-gsettings-schemas
 
+.SECONDARY: $(gsettings_SCHEMAS)
+
 gsettings__base_list = \
   sed "$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g" | \
   sed "$$!N;$$!N;$$!N;$$!N;s/\n/ /g"



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