diff options
author | Perberos <[email protected]> | 2011-12-01 21:51:44 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-12-01 21:51:44 -0300 |
commit | 0b0e6bc987da4fd88a7854ebb12bde705e92c428 (patch) | |
tree | 47d329edd31c67eaa36b2147780e37e197e901b5 /font-viewer/Makefile.am | |
download | mate-control-center-0b0e6bc987da4fd88a7854ebb12bde705e92c428.tar.bz2 mate-control-center-0b0e6bc987da4fd88a7854ebb12bde705e92c428.tar.xz |
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'font-viewer/Makefile.am')
-rw-r--r-- | font-viewer/Makefile.am | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/font-viewer/Makefile.am b/font-viewer/Makefile.am new file mode 100644 index 00000000..9fd87eac --- /dev/null +++ b/font-viewer/Makefile.am @@ -0,0 +1,48 @@ + +INCLUDES = $(FONT_VIEWER_CFLAGS) $(MATECC_CAPPLETS_CFLAGS) -DDIRECTORY_DIR=\"$(directorydir)\" \ + -DMATELOCALEDIR=\"$(datadir)/locale\" + +bin_PROGRAMS = mate-thumbnail-font mate-font-viewer + +mate_thumbnail_font_LDADD = $(MATECC_CAPPLETS_LIBS) $(FONT_VIEWER_LIBS) +mate_thumbnail_font_SOURCES = ftstream-vfs.c font-thumbnailer.c totem-resources.c totem-resources.h + +mate_font_viewer_LDADD = $(MATECC_CAPPLETS_LIBS) $(FONT_VIEWER_LIBS) +mate_font_viewer_SOURCES = ftstream-vfs.c font-view.c + +schemasdir = $(MATECONF_SCHEMA_FILE_DIR) +schemas_DATA = fontilus.schemas + +desktopdir = $(datadir)/applications +desktop_in_files = mate-font-viewer.desktop.in +desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) + +install-data-local: install-mateconf-schemas install-desktop-database + +if MATECONF_SCHEMAS_INSTALL +install-mateconf-schemas: + if test -z "$(DESTDIR)"; then \ + MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule fontilus.schemas; \ + fi +else +install-mateconf-schemas: +endif + +install-desktop-database: install-desktopDATA + update-desktop-database $(DESTDIR)$(desktopdir) + +uninstall-local: + rm -f $(DESTDIR)$(desktopdir)/mimeinfo.cache + +@INTLTOOL_DESKTOP_RULE@ +@INTLTOOL_DIRECTORY_RULE@ +@INTLTOOL_SCHEMAS_RULE@ + +CLEANFILES = $(desktop_in_files) $(desktop_DATA) \ + $(schemas_DATA) $(directory_DATA) + +EXTRA_DIST = \ + fontilus.schemas.in \ + mate-font-viewer.desktop.in.in + +-include $(top_srcdir)/git.mk |