summaryrefslogtreecommitdiff
path: root/m4macros
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2010-05-21 20:08:49 -0400
committerRyan Lortie <desrt@desrt.ca>2010-05-21 20:10:02 -0400
commitd818bebf4949617fdf5ffc7833c8f87ccca5c1a1 (patch)
tree20772bc6deefc547712e81fc4d7001c186ba9c6e /m4macros
parentbf24dff88eb3c794ae846cb7b8397510407ad9f5 (diff)
downloadglib-d818bebf4949617fdf5ffc7833c8f87ccca5c1a1.tar.gz
glib-d818bebf4949617fdf5ffc7833c8f87ccca5c1a1.tar.bz2
glib-d818bebf4949617fdf5ffc7833c8f87ccca5c1a1.zip
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.
Diffstat (limited to 'm4macros')
-rw-r--r--m4macros/gsettings.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/m4macros/gsettings.m4 b/m4macros/gsettings.m4
index 73a7e1542..329700d02 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"