You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
2.3 KiB
98 lines
2.3 KiB
4 years ago
|
moduledir = $(DESTDIR)$(windowsettingslibdir)/window-manager-settings
|
||
|
|
||
|
if USE_GNOME
|
||
|
libcompiz_la_LDFLAGS = -export-dynamic -avoid-version -rpath $(moduledir)
|
||
|
libcompiz_la_LIBADD = @GNOME_WINDOW_SETTINGS_LIBS@
|
||
|
libcompiz_la_SOURCES = \
|
||
|
compiz-window-manager.c \
|
||
|
compiz-window-manager.h
|
||
|
libcompiz_module = libcompiz.la
|
||
|
|
||
|
desktopfilesdir = $(DESTDIR)$(datadir)/applications
|
||
|
desktopfiles_in_files = compiz.desktop.in
|
||
|
desktopfiles_files = $(desktopfiles_in_files:.desktop.in=.desktop)
|
||
|
|
||
|
wmpropertiesdir = $(DESTDIR)$(windowsettingsdatadir)/gnome/wm-properties
|
||
|
wmproperties_in_files = compiz-wm.desktop.in
|
||
|
wmproperties_files = $(wmproperties_in_files:.desktop.in=.desktop)
|
||
|
|
||
|
@INTLTOOL_DESKTOP_RULE@
|
||
|
|
||
|
if USE_GNOME_KEYBINDINGS
|
||
|
|
||
|
xmldir = $(DESTDIR)$(keybindingsdir)
|
||
|
xml_in_files = 50-compiz-desktop-key.xml.in 50-compiz-key.xml.in
|
||
|
xml_files = $(xml_in_files:.xml.in=.xml)
|
||
|
|
||
|
@INTLTOOL_XML_NOMERGE_RULE@
|
||
|
|
||
|
endif
|
||
|
|
||
|
install-exec-local:
|
||
|
if mkdir -p $(moduledir) && test -w $(moduledir); then ( \
|
||
|
$(LIBTOOL) --mode=install $(INSTALL) $(libcompiz_module) \
|
||
|
$(moduledir) \
|
||
|
); \
|
||
|
fi
|
||
|
|
||
|
install-data-local:
|
||
|
if mkdir -p $(desktopfilesdir) && test -w $(desktopfilesdir); then ( \
|
||
|
$(INSTALL) -m 644 $(desktopfiles_files) \
|
||
|
$(desktopfilesdir) \
|
||
|
); \
|
||
|
fi
|
||
|
if mkdir -p $(wmpropertiesdir) && test -w $(wmpropertiesdir); then ( \
|
||
|
$(INSTALL) -m 644 $(wmproperties_files) \
|
||
|
$(wmpropertiesdir) \
|
||
|
); \
|
||
|
fi
|
||
|
|
||
|
if USE_GNOME_KEYBINDINGS
|
||
|
if mkdir -p $(xmldir) && test -w $(xmldir); then ( \
|
||
|
$(INSTALL) -m 644 $(xml_files) \
|
||
|
$(xmldir) \
|
||
|
); \
|
||
|
fi
|
||
|
endif
|
||
|
|
||
|
uninstall-local:
|
||
|
if test -w $(moduledir); then ( \
|
||
|
rm -f $(moduledir)/libcompiz.* \
|
||
|
); \
|
||
|
fi
|
||
|
if test -w $(desktopfilesdir); then ( \
|
||
|
rm -f $(desktopfilesdir)/compiz.desktop \
|
||
|
); \
|
||
|
fi
|
||
|
if test -w $(wmpropertiesdir); then ( \
|
||
|
rm -f $(wmpropertiesdir)/compiz-wm.desktop \
|
||
|
); \
|
||
|
fi
|
||
|
if USE_GNOME_KEYBINDINGS
|
||
|
if test -w $(xmldir); then ( \
|
||
|
rm -f $(xmldir)/50-compiz*key.xml \
|
||
|
); \
|
||
|
fi
|
||
|
endif
|
||
|
endif
|
||
|
|
||
|
INCLUDES = @GNOME_WINDOW_SETTINGS_CFLAGS@ \
|
||
|
-DMETACITY_THEME_DIR=\""$(windowsettingsdatadir)/themes"\" \
|
||
|
-DLOCALEDIR="\"@datadir@/locale"\"
|
||
|
|
||
|
noinst_LTLIBRARIES = \
|
||
|
$(libcompiz_module)
|
||
|
|
||
|
noinst_DATA = \
|
||
|
$(desktopfiles_files) \
|
||
|
$(wmproperties_files) \
|
||
|
$(xml_files)
|
||
|
|
||
|
EXTRA_DIST = \
|
||
|
$(desktopfiles_in_files) \
|
||
|
$(wmproperties_in_files) \
|
||
|
$(xml_in_files)
|
||
|
|
||
|
DISTCLEANFILES = \
|
||
|
$(noinst_DATA)
|