Commit dfa2347645224b4e2afc44fcf5bc78280d8bb9dc
1 parent
f9faaf74
Exists in
master
and in
2 other branches
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 | 41 | schemadir=@gsettingsschemadir@ |
42 | 42 | |
43 | 43 | BASEDIR=@BASEDIR@ |
44 | +BINDIR=$(BASEDIR)/.bin | |
44 | 45 | |
45 | 46 | #---[ Tools ]---------------------------------------------------------------------------- |
46 | 47 | |
... | ... | @@ -50,12 +51,20 @@ INSTALL_DATA=@INSTALL_DATA@ |
50 | 51 | |
51 | 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 | 63 | @$(MKDIR) $(DESTDIR)/$(schemadir) |
56 | 64 | @$(INSTALL_DATA) \ |
57 | 65 | $(BASEDIR)/schemas/@OSNAME@/application.gschema.xml \ |
58 | 66 | $(DESTDIR)/$(schemadir)/$(PRODUCT_NAME)-application.gschema.xml |
67 | + | |
59 | 68 | |
60 | 69 | @$(INSTALL_DATA) \ |
61 | 70 | $(BASEDIR)/schemas/@OSNAME@/window.gschema.xml \ | ... | ... |