Skip to content

Commit

Permalink
Update schema file location in the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Sep 10, 2017
1 parent 862f8a5 commit d2a63bf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Expand Up @@ -14,7 +14,9 @@ manpages = gtimelog.1
po_files = $(wildcard po/*.po)
mo_files = $(patsubst po/%.po,locale/%/LC_MESSAGES/gtimelog.mo,$(po_files))
fallback_ui_files = src/gtimelog/gtimelog-gtk3.10.ui src/gtimelog/preferences-gtk3.10.ui
runtime_files = gschemas.compiled $(mo_files) $(fallback_ui_files)
schema_dir = src/gtimelog/data
schema_files = $(schema_dir)/gschemas.compiled
runtime_files = $(schema_files) $(mo_files) $(fallback_ui_files)

.PHONY: all
all: $(manpages) $(runtime_files)
Expand Down Expand Up @@ -56,8 +58,8 @@ locale/%/LC_MESSAGES/gtimelog.mo: po/%.po
mkdir -p $(@D)
msgfmt -o $@ $<

gschemas.compiled: org.gtimelog.gschema.xml
glib-compile-schemas .
$(schema_files): $(schema_dir)/org.gtimelog.gschema.xml
glib-compile-schemas $(schema_dir)

.PHONY: clean
clean:
Expand Down

0 comments on commit d2a63bf

Please sign in to comment.