Commit 8452401b7c9d91276efa0435765ae583aa7a2135
1 parent
c9740f85
Exists in
master
and in
2 other branches
Fixing schema build.
Showing
1 changed file
with
5 additions
and
3 deletions
Show diff stats
Makefile.in
@@ -52,8 +52,8 @@ SOURCES= \ | @@ -52,8 +52,8 @@ SOURCES= \ | ||
52 | $(wildcard $(srcdir)/src/objects/keypad/*.c) | 52 | $(wildcard $(srcdir)/src/objects/keypad/*.c) |
53 | 53 | ||
54 | SCHEMAS= \ | 54 | SCHEMAS= \ |
55 | - $(wildcard $(srcdir)/schemas/@OSNAME@/*.gschema.xml) \ | ||
56 | - $(wildcard $(srcdir)/schemas/common/*.gschema.xml) | 55 | + $(wildcard schemas/@OSNAME@/*.gschema.xml) \ |
56 | + $(wildcard schemas/common/*.gschema.xml) | ||
57 | 57 | ||
58 | #---[ Tools ]---------------------------------------------------------------------------- | 58 | #---[ Tools ]---------------------------------------------------------------------------- |
59 | 59 | ||
@@ -135,6 +135,8 @@ $(OBJDBG)/%.o: \ | @@ -135,6 +135,8 @@ $(OBJDBG)/%.o: \ | ||
135 | gschemas.compiled: \ | 135 | gschemas.compiled: \ |
136 | $(foreach SCHEMA, $(notdir $(SCHEMAS)), $(OBJDIR)/schemas/$(SCHEMA)) | 136 | $(foreach SCHEMA, $(notdir $(SCHEMAS)), $(OBJDIR)/schemas/$(SCHEMA)) |
137 | 137 | ||
138 | + @$(MKDIR) $(OBJDIR)/schemas | ||
139 | + | ||
138 | @glib-compile-schemas \ | 140 | @glib-compile-schemas \ |
139 | --targetdir=$(@D) \ | 141 | --targetdir=$(@D) \ |
140 | $(OBJDIR)/schemas | 142 | $(OBJDIR)/schemas |
@@ -202,7 +204,7 @@ $(POTDIR)/$(PACKAGE_NAME)/%.pot: \ | @@ -202,7 +204,7 @@ $(POTDIR)/$(PACKAGE_NAME)/%.pot: \ | ||
202 | @touch $@ | 204 | @touch $@ |
203 | 205 | ||
204 | $(OBJDIR)/schemas/%.xml: \ | 206 | $(OBJDIR)/schemas/%.xml: \ |
205 | - $(srcdir)/schemas/@OSNAME@/%.xml | 207 | + schemas/@OSNAME@/%.xml |
206 | 208 | ||
207 | @$(MKDIR) $(@D) | 209 | @$(MKDIR) $(@D) |
208 | @cp "$^" "$@" | 210 | @cp "$^" "$@" |