Commit 8452401b7c9d91276efa0435765ae583aa7a2135

Authored by Perry Werneck
1 parent c9740f85

Fixing schema build.

Showing 1 changed file with 5 additions and 3 deletions   Show diff stats
Makefile.in
... ... @@ -52,8 +52,8 @@ SOURCES= \
52 52 $(wildcard $(srcdir)/src/objects/keypad/*.c)
53 53  
54 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 58 #---[ Tools ]----------------------------------------------------------------------------
59 59  
... ... @@ -135,6 +135,8 @@ $(OBJDBG)/%.o: \
135 135 gschemas.compiled: \
136 136 $(foreach SCHEMA, $(notdir $(SCHEMAS)), $(OBJDIR)/schemas/$(SCHEMA))
137 137  
  138 + @$(MKDIR) $(OBJDIR)/schemas
  139 +
138 140 @glib-compile-schemas \
139 141 --targetdir=$(@D) \
140 142 $(OBJDIR)/schemas
... ... @@ -202,7 +204,7 @@ $(POTDIR)/$(PACKAGE_NAME)/%.pot: \
202 204 @touch $@
203 205  
204 206 $(OBJDIR)/schemas/%.xml: \
205   - $(srcdir)/schemas/@OSNAME@/%.xml
  207 + schemas/@OSNAME@/%.xml
206 208  
207 209 @$(MKDIR) $(@D)
208 210 @cp "$^" "$@"
... ...