diff options
author | fujiwarat <takao.fujiwara1@gmail.com> | 2017-12-28 20:48:32 +0900 |
---|---|---|
committer | fujiwarat <takao.fujiwara1@gmail.com> | 2017-12-28 20:48:32 +0900 |
commit | 89f8ddf86f417ed3074532e7b66f5eabc9595984 (patch) | |
tree | 7c74356b963fd56a88ce4a2e74759612c424a93a /data | |
parent | ae039c727a89c8a27d5224adafb656a37d345d22 (diff) | |
download | ibus-anthy-89f8ddf86f417ed3074532e7b66f5eabc9595984.tar.gz |
Migrated DConf to GSettings for python2
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 5d5747e..d94ff54 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -75,6 +75,18 @@ zipcode.t: $(ANTHY_ZIPCODE_FILE) CLEANFILES += zipcode.t endif +install-data-hook: + if test -z "$(DESTDIR)"; then \ + glib-compile-schemas $(schemasdir); \ + fi + +uninstall-hook: + SCHEMAS_FILES=`ls $(schemasdir)/*.gschema.xml` || true; \ + if test -z "$$SCHEMAS_FILES" && \ + test -f $(schemasdir)/gschemas.compiled; then \ + rm $(schemasdir)/gschemas.compiled; \ + fi + EXTRA_DIST = \ $(appdata_in_files) \ $(schemas_in_files) \ |