[nemiver] Use Automake GSettings magic to support DESTDIR



commit 4c2856f478a2efebc3f53e3bee428e9ff2502b9d
Author: Dodji Seketeli <dodji seketeli org>
Date:   Sun May 8 13:10:54 2011 +0200

    Use Automake GSettings magic to support DESTDIR
    
    	* data/schemas/gsettings/Makefile.am: Remove custom makefile
    	rules.  Use gsettings_SCHEMAS and @GSETTINGS_RULES  

 data/schemas/gsettings/Makefile.am |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/data/schemas/gsettings/Makefile.am b/data/schemas/gsettings/Makefile.am
index c6c14c5..5acfe67 100644
--- a/data/schemas/gsettings/Makefile.am
+++ b/data/schemas/gsettings/Makefile.am
@@ -1,16 +1,7 @@
 files=org.nemiver.gschema.xml
 gsettingsschema_DATA = $(files)
+gsettings_SCHEMAS = $(files)
 
-export files
-
-install-data-local: install-schemas
-
-uninstall-local: uninstall-schemas
-
-install-schemas: install-gsettingsschemaDATA
-	$(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
-
-uninstall-schemas: uninstall-gsettingsschemaDATA
-	$(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
+ GSETTINGS_RULES@
 
 EXTRA_DIST=$(files)



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