Arc-39-theme/common/Makefile.am

187 lines
4.0 KiB
Makefile
Raw Permalink Normal View History

if ENABLE_GTK2
GTK2_SUBDIR = gtk-2.0
endif
2015-07-10 16:38:57 +02:00
if ENABLE_GTK3
GTK3_SUBDIR = gtk-3.0
endif
2015-05-28 17:41:22 +02:00
if ENABLE_XFWM
XFWM_SUBDIR = xfwm4
endif
2015-10-08 01:17:03 +02:00
SUBDIRS = $(GTK2_SUBDIR) $(GTK3_SUBDIR) $(XFWM_SUBDIR)
2015-07-10 16:38:57 +02:00
if ENABLE_LIGHT
theme_DATA = $(srcdir)/index/light/index.theme
endif
2015-07-10 16:38:57 +02:00
if ENABLE_DARKER
themedarker_DATA = $(srcdir)/index/darker/index.theme
endif
2015-07-10 16:38:57 +02:00
if ENABLE_DARK
themedark_DATA = $(srcdir)/index/dark/index.theme
endif
ithemedir = $(DESTDIR)$(themedir)
ithemedarkerdir = $(DESTDIR)$(themedarkerdir)
ithemedarkdir = $(DESTDIR)$(themedarkdir)
install-exec-hook:
2015-05-28 17:41:22 +02:00
install-data-local:
2015-05-28 17:41:22 +02:00
2015-08-14 00:05:57 +02:00
if ENABLE_CINNAMON
$(MKDIR_P) $(ithemedir)/cinnamon
cd $(srcdir)/cinnamon && cp thumbnail.png $(ithemedir)/cinnamon
$(SASSC) $(srcdir)/cinnamon/sass/cinnamon.scss $(srcdir)/cinnamon/cinnamon.css;
2018-01-08 19:29:33 +01:00
2016-01-15 23:30:09 +01:00
cd $(srcdir)/cinnamon && cp -R \
2015-08-14 00:05:57 +02:00
common-assets \
light-assets \
cinnamon.css \
$(ithemedir)/cinnamon
if ENABLE_DARK
$(MKDIR_P) $(ithemedarkdir)/cinnamon
cd $(srcdir)/cinnamon && cp thumbnail-dark.png $(ithemedarkdir)/cinnamon/thumbnail.png
$(SASSC) $(srcdir)/cinnamon/sass/cinnamon-dark.scss $(srcdir)/cinnamon/cinnamon-dark.css;
2018-01-08 19:29:33 +01:00
2016-01-15 23:30:09 +01:00
cd $(srcdir)/cinnamon && cp -R \
common-assets \
dark-assets \
$(ithemedarkdir)/cinnamon
2016-01-15 23:30:09 +01:00
cd $(srcdir)/cinnamon && cp -R \
cinnamon-dark.css \
$(ithemedarkdir)/cinnamon/cinnamon.css
endif # ENABLE_DARK
2015-08-14 00:05:57 +02:00
endif # ENABLE_GNOME_SHELL
2015-05-28 17:41:22 +02:00
if ENABLE_GNOME_SHELL
2015-07-17 14:34:04 +02:00
$(MKDIR_P) $(ithemedir)/gnome-shell
$(SASSC) $(srcdir)/gnome-shell/$(GNOME_SHELL_VERSION)/sass/gnome-shell.scss $(srcdir)/gnome-shell/$(GNOME_SHELL_VERSION)/gnome-shell.css;
2018-01-08 19:33:27 +01:00
cd $(srcdir)/gnome-shell/$(GNOME_SHELL_VERSION) && cp -RL \
2015-08-14 00:05:57 +02:00
common-assets \
light-assets \
2015-07-17 14:34:04 +02:00
gnome-shell.css \
$(ithemedir)/gnome-shell
if ENABLE_DARK
$(MKDIR_P) $(ithemedarkdir)/gnome-shell
$(SASSC) $(srcdir)/gnome-shell/$(GNOME_SHELL_VERSION)/sass/gnome-shell-dark.scss $(srcdir)/gnome-shell/$(GNOME_SHELL_VERSION)/gnome-shell-dark.css;
2018-01-08 19:33:27 +01:00
cd $(srcdir)/gnome-shell/$(GNOME_SHELL_VERSION) && cp -RL \
common-assets \
dark-assets \
$(ithemedarkdir)/gnome-shell
cd $(srcdir)/gnome-shell/$(GNOME_SHELL_VERSION) && cp -R \
gnome-shell-dark.css \
$(ithemedarkdir)/gnome-shell/gnome-shell.css
endif # ENABLE_DARK
2015-05-28 17:41:22 +02:00
endif # ENABLE_GNOME_SHELL
if ENABLE_METACITY
2015-07-10 16:38:57 +02:00
if ENABLE_LIGHT
2016-01-15 23:30:09 +01:00
cp -R $(srcdir)/metacity-1 $(ithemedir)
2015-07-10 16:38:57 +02:00
cd $(ithemedir)/metacity-1 && rm metacity-theme-1-dark.xml metacity-theme-2-dark.xml thumbnail-dark.png
2015-07-10 16:38:57 +02:00
endif # ENABLE_LIGHT
if ENABLE_DARKER
2016-01-15 23:30:09 +01:00
cp -R $(srcdir)/metacity-1 $(ithemedarkerdir)
2015-07-10 16:38:57 +02:00
cd $(ithemedarkerdir)/metacity-1 && \
mv metacity-theme-1-dark.xml metacity-theme-1.xml && \
mv metacity-theme-2-dark.xml metacity-theme-2.xml && \
mv thumbnail-dark.png thumbnail.png
2015-07-10 16:38:57 +02:00
endif # ENABLE_DARKER
if ENABLE_DARK
2016-01-15 23:30:09 +01:00
cp -R $(srcdir)/metacity-1 $(ithemedarkdir)
2015-07-10 16:38:57 +02:00
cd $(ithemedarkdir)/metacity-1 && \
mv metacity-theme-1-dark.xml metacity-theme-1.xml && \
mv metacity-theme-2-dark.xml metacity-theme-2.xml && \
mv thumbnail-dark.png thumbnail.png
2015-07-10 16:38:57 +02:00
endif # ENABLE_DARK
2015-05-28 17:41:22 +02:00
endif # ENABLE_METACITY
2018-05-13 01:03:26 +02:00
if ENABLE_OPENBOX
if ENABLE_LIGHT
cp -R $(srcdir)/openbox/Arc/* $(ithemedir)
endif # ENABLE_LIGHT
if ENABLE_DARKER
cp -R $(srcdir)/openbox/Arc-Darker/* $(ithemedarkerdir)
endif # ENABLE_DARKER
if ENABLE_DARK
cp -R $(srcdir)/openbox/Arc-Dark/* $(ithemedarkdir)
endif # ENABLE_DARK
endif # ENABLE_OPENBOX
2015-05-28 17:41:22 +02:00
if ENABLE_UNITY
2015-07-10 16:38:57 +02:00
if ENABLE_LIGHT
2016-01-15 23:30:09 +01:00
cp -R $(srcdir)/unity $(ithemedir)
2015-07-10 16:38:57 +02:00
cd $(ithemedir)/unity && rm -rf window-buttons-dark
endif # ENABLE_LIGHT
if ENABLE_DARKER
2016-01-15 23:30:09 +01:00
cp -R $(srcdir)/unity $(ithemedarkerdir)
2015-07-10 16:38:57 +02:00
cd $(ithemedarkerdir)/unity && \
rm -rf window-buttons && \
mv window-buttons-dark window-buttons
endif # ENABLE_DARKER
if ENABLE_DARK
2016-01-15 23:30:09 +01:00
cp -R $(srcdir)/unity $(ithemedarkdir)
2015-07-10 16:38:57 +02:00
cd $(ithemedarkdir)/unity && \
rm -rf window-buttons && \
mv window-buttons-dark window-buttons
endif # ENABLE_DARK
2015-05-28 17:41:22 +02:00
endif # ENABLE_UNITY
uninstall-local:
rm -rf $(ithemedir)
2015-08-23 13:38:23 +02:00
if ENABLE_DARKER
rm -rf $(ithemedarkerdir)
endif # ENABLE_DARKER
if ENABLE_DARK
rm -rf $(ithemedarkdir)
endif # ENABLE_DARK
2015-05-28 17:41:22 +02:00
EXTRA_DIST = \
cinnamon \
gnome-shell \
index \
metacity-1 \
unity