[meld] Add Makefile targets to support glade-3 editing of Meld UI files
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Add Makefile targets to support glade-3 editing of Meld UI files
- Date: Fri, 2 Aug 2013 21:38:23 +0000 (UTC)
commit 169839cb8e0c46083b263f62ce7decedbbdf8ca1
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Jul 27 07:28:27 2013 +1000
Add Makefile targets to support glade-3 editing of Meld UI files
These are development-only, and not particularly sensible or robust.
While theoretically Glade supports a variety of ways to set the search
paths, installing to the global directory is the only one I've found to
work reliably.
Makefile | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/Makefile b/Makefile
index edc84c5..89e2d67 100644
--- a/Makefile
+++ b/Makefile
@@ -95,6 +95,17 @@ install: $(addsuffix .install,$(SPECIALS)) meld.desktop meld.xml
$(update_mime_database)
$(update_desktop_database)
+.PHONY:install-glade-support
+install-glade-support:
+ install -m 644 meld/ui/gladesupport.py \
+ $(DESTDIR)$(libdir)/glade3/modules/meld.py
+ install -m 644 meld/ui/catalog.xml \
+ $(DESTDIR)$(sharedir)/glade3/catalogs/meld.xml
+
+.PHONY:glade
+glade:
+ PYTHONPATH="${PYTHONPATH}:/usr/lib/glade3/modules/" glade-3
+
meld.desktop: data/meld.desktop.in
intltool-merge -d po data/meld.desktop.in data/meld.desktop
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]