From 8452401b7c9d91276efa0435765ae583aa7a2135 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Thu, 9 Dec 2021 23:09:59 -0300 Subject: [PATCH] Fixing schema build. --- Makefile.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index af32897..04ceff4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -52,8 +52,8 @@ SOURCES= \ $(wildcard $(srcdir)/src/objects/keypad/*.c) SCHEMAS= \ - $(wildcard $(srcdir)/schemas/@OSNAME@/*.gschema.xml) \ - $(wildcard $(srcdir)/schemas/common/*.gschema.xml) + $(wildcard schemas/@OSNAME@/*.gschema.xml) \ + $(wildcard schemas/common/*.gschema.xml) #---[ Tools ]---------------------------------------------------------------------------- @@ -135,6 +135,8 @@ $(OBJDBG)/%.o: \ gschemas.compiled: \ $(foreach SCHEMA, $(notdir $(SCHEMAS)), $(OBJDIR)/schemas/$(SCHEMA)) + @$(MKDIR) $(OBJDIR)/schemas + @glib-compile-schemas \ --targetdir=$(@D) \ $(OBJDIR)/schemas @@ -202,7 +204,7 @@ $(POTDIR)/$(PACKAGE_NAME)/%.pot: \ @touch $@ $(OBJDIR)/schemas/%.xml: \ - $(srcdir)/schemas/@OSNAME@/%.xml + schemas/@OSNAME@/%.xml @$(MKDIR) $(@D) @cp "$^" "$@" -- libgit2 0.21.2