Commit dfa2347645224b4e2afc44fcf5bc78280d8bb9dc

Authored by Perry Werneck
1 parent f9faaf74

Testing if the schemas are ok.

Showing 1 changed file with 10 additions and 1 deletions   Show diff stats
schemas/Makefile.in
@@ -41,6 +41,7 @@ sysconfdir=@sysconfdir@ @@ -41,6 +41,7 @@ sysconfdir=@sysconfdir@
41 schemadir=@gsettingsschemadir@ 41 schemadir=@gsettingsschemadir@
42 42
43 BASEDIR=@BASEDIR@ 43 BASEDIR=@BASEDIR@
  44 +BINDIR=$(BASEDIR)/.bin
44 45
45 #---[ Tools ]---------------------------------------------------------------------------- 46 #---[ Tools ]----------------------------------------------------------------------------
46 47
@@ -50,12 +51,20 @@ INSTALL_DATA=@INSTALL_DATA@ @@ -50,12 +51,20 @@ INSTALL_DATA=@INSTALL_DATA@
50 51
51 #---[ Install Targets ]------------------------------------------------------------------ 52 #---[ Install Targets ]------------------------------------------------------------------
52 53
53 -install: 54 +all:
  55 + # Compile schemas to check if they're valid
  56 + @glib-compile-schemas \
  57 + --targetdir=$(BINDIR) \
  58 + $(BASEDIR)/schemas/@OSNAME@
  59 +
  60 +install: \
  61 + all
54 62
55 @$(MKDIR) $(DESTDIR)/$(schemadir) 63 @$(MKDIR) $(DESTDIR)/$(schemadir)
56 @$(INSTALL_DATA) \ 64 @$(INSTALL_DATA) \
57 $(BASEDIR)/schemas/@OSNAME@/application.gschema.xml \ 65 $(BASEDIR)/schemas/@OSNAME@/application.gschema.xml \
58 $(DESTDIR)/$(schemadir)/$(PRODUCT_NAME)-application.gschema.xml 66 $(DESTDIR)/$(schemadir)/$(PRODUCT_NAME)-application.gschema.xml
  67 +
59 68
60 @$(INSTALL_DATA) \ 69 @$(INSTALL_DATA) \
61 $(BASEDIR)/schemas/@OSNAME@/window.gschema.xml \ 70 $(BASEDIR)/schemas/@OSNAME@/window.gschema.xml \