diff options
author | Stefano Karapetsas <[email protected]> | 2011-12-14 10:13:54 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2011-12-14 10:13:54 +0100 |
commit | ef0467789bfc8406b57ba553e4d59f4d6c3f9be8 (patch) | |
tree | 09d541636a16cb38448fe6183289ebdc3080c1bf /mate-dictionary/data/Makefile.am | |
download | mate-utils-ef0467789bfc8406b57ba553e4d59f4d6c3f9be8.tar.bz2 mate-utils-ef0467789bfc8406b57ba553e4d59f4d6c3f9be8.tar.xz |
Moved from Mate-Extra repository
Diffstat (limited to 'mate-dictionary/data/Makefile.am')
-rw-r--r-- | mate-dictionary/data/Makefile.am | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/mate-dictionary/data/Makefile.am b/mate-dictionary/data/Makefile.am new file mode 100644 index 00000000..2e38a96c --- /dev/null +++ b/mate-dictionary/data/Makefile.am @@ -0,0 +1,84 @@ +NULL = + +man_MANS = mate-dictionary.1 + +gdictappdir = $(datadir)/applications +gdictapp_in_files = mate-dictionary.desktop.in +gdictapp_DATA = $(gdictapp_in_files:.desktop.in=.desktop) + +$(gdictapp_in_files): $(gdictapp_in_files:.desktop.in=.desktop.in.in) + @sed -e "s|\@VERSION\@|@VERSION@|" $< > $@ + +@INTLTOOL_DESKTOP_RULE@ + +# dictionary sources definitions +dictsourcedir = $(datadir)/mate-dict/sources +dictsource_in_files = \ + default.desktop.in \ + spanish.desktop.in \ + thai.desktop.in \ + $(NULL) +dictsource_DATA = $(dictsource_in_files:.desktop.in=.desktop) +@INTLTOOL_DESKTOP_RULE@ + +builderdir = $(datadir)/mate-dictionary +builder_DATA = mate-dictionary-preferences.ui \ + mate-dictionary-source.ui + +uidir = $(datadir)/mate-dictionary +ui_DATA = mate-dictionary-ui.xml + +if BUILD_GDICT_APPLET + +# applet menu definition +appletuidir = $(datadir)/mate-2.0/ui +appletui_DATA = MATE_DictionaryApplet.xml + +serverdir = $(libdir)/matecomponent/servers +server_in_files = MATE_DictionaryApplet.server.in +server_DATA = $(server_in_files:.server.in=.server) + +$(server_in_files): $(server_in_files:.server.in=.server.in.in) + @sed \ + -e "s|\@VERSION\@|@VERSION@|" \ + -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \ + $< > $@ + + +@INTLTOOL_SERVER_RULE@ + +endif # BUILD_GDICT_APPLET + +schemadir = $(MATECONF_SCHEMA_FILE_DIR) +schemas_in_file = mate-dictionary.schemas.in +schema_DATA = $(schemas_in_file:.schemas.in=.schemas) +@INTLTOOL_SCHEMAS_RULE@ + +EXTRA_DIST = \ + MATE_DictionaryApplet.server.in.in \ + mate-dictionary.desktop.in.in \ + $(dictsource_in_files) \ + $(man_MANS) \ + $(schemas_in_file) \ + $(builder_DATA) \ + $(ui_DATA) \ + $(appletui_DATA) \ + $(NULL) + +CLEANFILES = \ + $(dictsource_DATA) \ + $(server_in_files) \ + $(server_DATA) \ + $(gdictapp_in_files) \ + $(gdictapp_DATA) \ + $(schema_DATA) \ + $(NULL) + +if MATECONF_SCHEMAS_INSTALL +install-data-local: + if test -z "$(DESTDIR)" ; then \ + MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(schema_DATA) ; \ + fi +else +install-data-local: +endif |