mirror of
https://github.com/horst3180/arc-theme.git
synced 2024-10-27 19:04:02 +00:00
avoid using cp --no-preserve since it's a GNUism and actually not needed
This commit is contained in:
parent
6d97a5d51e
commit
ba6c8e436c
@ -12,24 +12,24 @@ install-data-local:
|
|||||||
|
|
||||||
if ENABLE_LIGHT
|
if ENABLE_LIGHT
|
||||||
$(MKDIR_P) $(ithemedir)
|
$(MKDIR_P) $(ithemedir)
|
||||||
cp --no-preserve=mode,ownership $(srcdir)/index.theme $(ithemedir)
|
cp $(srcdir)/index.theme $(ithemedir)
|
||||||
endif # ENABLE_LIGHT
|
endif # ENABLE_LIGHT
|
||||||
|
|
||||||
if ENABLE_DARKER
|
if ENABLE_DARKER
|
||||||
$(MKDIR_P) $(ithemedarkerdir)
|
$(MKDIR_P) $(ithemedarkerdir)
|
||||||
cp --no-preserve=mode,ownership $(srcdir)/index.theme-darker $(ithemedarkerdir)/index.theme
|
cp $(srcdir)/index.theme-darker $(ithemedarkerdir)/index.theme
|
||||||
endif # ENABLE_LIGHT
|
endif # ENABLE_LIGHT
|
||||||
|
|
||||||
if ENABLE_DARK
|
if ENABLE_DARK
|
||||||
$(MKDIR_P) $(ithemedarkdir)
|
$(MKDIR_P) $(ithemedarkdir)
|
||||||
cp --no-preserve=mode,ownership $(srcdir)/index.theme-dark $(ithemedarkdir)/index.theme
|
cp $(srcdir)/index.theme-dark $(ithemedarkdir)/index.theme
|
||||||
endif # ENABLE_DARK
|
endif # ENABLE_DARK
|
||||||
|
|
||||||
|
|
||||||
if ENABLE_CINNAMON
|
if ENABLE_CINNAMON
|
||||||
$(MKDIR_P) $(ithemedir)/cinnamon
|
$(MKDIR_P) $(ithemedir)/cinnamon
|
||||||
|
|
||||||
cd $(srcdir)/cinnamon && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/cinnamon && cp -r \
|
||||||
common-assets \
|
common-assets \
|
||||||
light-assets \
|
light-assets \
|
||||||
cinnamon.css \
|
cinnamon.css \
|
||||||
@ -38,12 +38,12 @@ if ENABLE_CINNAMON
|
|||||||
if ENABLE_DARK
|
if ENABLE_DARK
|
||||||
$(MKDIR_P) $(ithemedarkdir)/cinnamon
|
$(MKDIR_P) $(ithemedarkdir)/cinnamon
|
||||||
|
|
||||||
cd $(srcdir)/cinnamon && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/cinnamon && cp -r \
|
||||||
common-assets \
|
common-assets \
|
||||||
dark-assets \
|
dark-assets \
|
||||||
$(ithemedarkdir)/cinnamon
|
$(ithemedarkdir)/cinnamon
|
||||||
|
|
||||||
cd $(srcdir)/cinnamon && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/cinnamon && cp -r \
|
||||||
cinnamon-dark.css \
|
cinnamon-dark.css \
|
||||||
$(ithemedarkdir)/cinnamon/cinnamon.css
|
$(ithemedarkdir)/cinnamon/cinnamon.css
|
||||||
endif # ENABLE_DARK
|
endif # ENABLE_DARK
|
||||||
@ -54,7 +54,7 @@ endif # ENABLE_GNOME_SHELL
|
|||||||
if ENABLE_GNOME_SHELL
|
if ENABLE_GNOME_SHELL
|
||||||
$(MKDIR_P) $(ithemedir)/gnome-shell
|
$(MKDIR_P) $(ithemedir)/gnome-shell
|
||||||
|
|
||||||
cd $(srcdir)/gnome-shell/$(GNOME_VERSION) && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gnome-shell/$(GNOME_VERSION) && cp -r \
|
||||||
common-assets \
|
common-assets \
|
||||||
light-assets \
|
light-assets \
|
||||||
gnome-shell.css \
|
gnome-shell.css \
|
||||||
@ -63,12 +63,12 @@ if ENABLE_GNOME_SHELL
|
|||||||
if ENABLE_DARK
|
if ENABLE_DARK
|
||||||
$(MKDIR_P) $(ithemedarkdir)/gnome-shell
|
$(MKDIR_P) $(ithemedarkdir)/gnome-shell
|
||||||
|
|
||||||
cd $(srcdir)/gnome-shell/$(GNOME_VERSION) && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gnome-shell/$(GNOME_VERSION) && cp -r \
|
||||||
common-assets \
|
common-assets \
|
||||||
dark-assets \
|
dark-assets \
|
||||||
$(ithemedarkdir)/gnome-shell
|
$(ithemedarkdir)/gnome-shell
|
||||||
|
|
||||||
cd $(srcdir)/gnome-shell/$(GNOME_VERSION) && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gnome-shell/$(GNOME_VERSION) && cp -r \
|
||||||
gnome-shell-dark.css \
|
gnome-shell-dark.css \
|
||||||
$(ithemedarkdir)/gnome-shell/gnome-shell.css
|
$(ithemedarkdir)/gnome-shell/gnome-shell.css
|
||||||
endif # ENABLE_DARK
|
endif # ENABLE_DARK
|
||||||
@ -81,7 +81,7 @@ if ENABLE_GTK2
|
|||||||
if ENABLE_LIGHT
|
if ENABLE_LIGHT
|
||||||
$(MKDIR_P) $(ithemedir)/gtk-2.0
|
$(MKDIR_P) $(ithemedir)/gtk-2.0
|
||||||
|
|
||||||
cd $(srcdir)/gtk-2.0 && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-2.0 && cp -r \
|
||||||
assets \
|
assets \
|
||||||
menubar-toolbar \
|
menubar-toolbar \
|
||||||
*.rc \
|
*.rc \
|
||||||
@ -92,13 +92,13 @@ endif # ENABLE_LIGHT
|
|||||||
if ENABLE_DARKER
|
if ENABLE_DARKER
|
||||||
$(MKDIR_P) $(ithemedarkerdir)/gtk-2.0
|
$(MKDIR_P) $(ithemedarkerdir)/gtk-2.0
|
||||||
|
|
||||||
cd $(srcdir)/gtk-2.0 && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-2.0 && cp -r \
|
||||||
assets \
|
assets \
|
||||||
menubar-toolbar \
|
menubar-toolbar \
|
||||||
*.rc \
|
*.rc \
|
||||||
$(ithemedarkerdir)/gtk-2.0
|
$(ithemedarkerdir)/gtk-2.0
|
||||||
|
|
||||||
cd $(srcdir)/gtk-2.0 && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-2.0 && cp -r \
|
||||||
gtkrc-darker \
|
gtkrc-darker \
|
||||||
$(ithemedarkerdir)/gtk-2.0/gtkrc
|
$(ithemedarkerdir)/gtk-2.0/gtkrc
|
||||||
endif # ENABLE_DARKER
|
endif # ENABLE_DARKER
|
||||||
@ -106,16 +106,16 @@ endif # ENABLE_DARKER
|
|||||||
if ENABLE_DARK
|
if ENABLE_DARK
|
||||||
$(MKDIR_P) $(ithemedarkdir)/gtk-2.0
|
$(MKDIR_P) $(ithemedarkdir)/gtk-2.0
|
||||||
|
|
||||||
cd $(srcdir)/gtk-2.0 && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-2.0 && cp -r \
|
||||||
menubar-toolbar \
|
menubar-toolbar \
|
||||||
*.rc \
|
*.rc \
|
||||||
$(ithemedarkdir)/gtk-2.0
|
$(ithemedarkdir)/gtk-2.0
|
||||||
|
|
||||||
cd $(srcdir)/gtk-2.0 && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-2.0 && cp -r \
|
||||||
assets-dark \
|
assets-dark \
|
||||||
$(ithemedarkdir)/gtk-2.0/assets
|
$(ithemedarkdir)/gtk-2.0/assets
|
||||||
|
|
||||||
cd $(srcdir)/gtk-2.0 && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-2.0 && cp -r \
|
||||||
gtkrc-dark \
|
gtkrc-dark \
|
||||||
$(ithemedarkdir)/gtk-2.0/gtkrc
|
$(ithemedarkdir)/gtk-2.0/gtkrc
|
||||||
endif # ENABLE_DARK
|
endif # ENABLE_DARK
|
||||||
@ -128,7 +128,7 @@ if ENABLE_GTK3
|
|||||||
if ENABLE_LIGHT
|
if ENABLE_LIGHT
|
||||||
$(MKDIR_P) $(ithemedir)/gtk-3.0
|
$(MKDIR_P) $(ithemedir)/gtk-3.0
|
||||||
|
|
||||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r \
|
||||||
assets \
|
assets \
|
||||||
gtk.css \
|
gtk.css \
|
||||||
gtk-dark.css \
|
gtk-dark.css \
|
||||||
@ -138,12 +138,12 @@ endif # ENABLE_LIGHT
|
|||||||
if ENABLE_DARKER
|
if ENABLE_DARKER
|
||||||
$(MKDIR_P) $(ithemedarkerdir)/gtk-3.0
|
$(MKDIR_P) $(ithemedarkerdir)/gtk-3.0
|
||||||
|
|
||||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r \
|
||||||
assets \
|
assets \
|
||||||
gtk-dark.css \
|
gtk-dark.css \
|
||||||
$(ithemedarkerdir)/gtk-3.0
|
$(ithemedarkerdir)/gtk-3.0
|
||||||
|
|
||||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r \
|
||||||
gtk-darker.css \
|
gtk-darker.css \
|
||||||
$(ithemedarkerdir)/gtk-3.0/gtk.css
|
$(ithemedarkerdir)/gtk-3.0/gtk.css
|
||||||
endif # ENABLE_DARKER
|
endif # ENABLE_DARKER
|
||||||
@ -151,11 +151,11 @@ endif # ENABLE_DARKER
|
|||||||
if ENABLE_DARK
|
if ENABLE_DARK
|
||||||
$(MKDIR_P) $(ithemedarkdir)/gtk-3.0
|
$(MKDIR_P) $(ithemedarkdir)/gtk-3.0
|
||||||
|
|
||||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r \
|
||||||
assets \
|
assets \
|
||||||
$(ithemedarkdir)/gtk-3.0
|
$(ithemedarkdir)/gtk-3.0
|
||||||
|
|
||||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r \
|
||||||
gtk-dark.css \
|
gtk-dark.css \
|
||||||
$(ithemedarkdir)/gtk-3.0/gtk.css
|
$(ithemedarkdir)/gtk-3.0/gtk.css
|
||||||
endif # ENABLE_DARK
|
endif # ENABLE_DARK
|
||||||
@ -163,27 +163,27 @@ endif # ENABLE_DARK
|
|||||||
if !ENABLE_TRANSPARENCY
|
if !ENABLE_TRANSPARENCY
|
||||||
|
|
||||||
if ENABLE_LIGHT
|
if ENABLE_LIGHT
|
||||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r \
|
||||||
gtk-solid.css \
|
gtk-solid.css \
|
||||||
$(ithemedir)/gtk-3.0/gtk.css
|
$(ithemedir)/gtk-3.0/gtk.css
|
||||||
|
|
||||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r \
|
||||||
gtk-solid-dark.css \
|
gtk-solid-dark.css \
|
||||||
$(ithemedir)/gtk-3.0/gtk-dark.css
|
$(ithemedir)/gtk-3.0/gtk-dark.css
|
||||||
endif # ENABLE_LIGHT
|
endif # ENABLE_LIGHT
|
||||||
|
|
||||||
if ENABLE_DARKER
|
if ENABLE_DARKER
|
||||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r \
|
||||||
gtk-solid-darker.css \
|
gtk-solid-darker.css \
|
||||||
$(ithemedarkerdir)/gtk-3.0/gtk.css
|
$(ithemedarkerdir)/gtk-3.0/gtk.css
|
||||||
|
|
||||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r \
|
||||||
gtk-solid-dark.css \
|
gtk-solid-dark.css \
|
||||||
$(ithemedarkerdir)/gtk-3.0/gtk-dark.css
|
$(ithemedarkerdir)/gtk-3.0/gtk-dark.css
|
||||||
endif # ENABLE_DARKER
|
endif # ENABLE_DARKER
|
||||||
|
|
||||||
if ENABLE_DARK
|
if ENABLE_DARK
|
||||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r --no-preserve=mode,ownership \
|
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -r \
|
||||||
gtk-solid-dark.css \
|
gtk-solid-dark.css \
|
||||||
$(ithemedarkdir)/gtk-3.0/gtk.css
|
$(ithemedarkdir)/gtk-3.0/gtk.css
|
||||||
endif # ENABLE_DARK
|
endif # ENABLE_DARK
|
||||||
@ -196,13 +196,13 @@ endif # ENABLE_GTK3
|
|||||||
if ENABLE_METACITY
|
if ENABLE_METACITY
|
||||||
|
|
||||||
if ENABLE_LIGHT
|
if ENABLE_LIGHT
|
||||||
cp -r --no-preserve=mode,ownership $(srcdir)/metacity-1 $(ithemedir)
|
cp -r $(srcdir)/metacity-1 $(ithemedir)
|
||||||
|
|
||||||
cd $(ithemedir)/metacity-1 && rm metacity-theme-1-dark.xml metacity-theme-2-dark.xml
|
cd $(ithemedir)/metacity-1 && rm metacity-theme-1-dark.xml metacity-theme-2-dark.xml
|
||||||
endif # ENABLE_LIGHT
|
endif # ENABLE_LIGHT
|
||||||
|
|
||||||
if ENABLE_DARKER
|
if ENABLE_DARKER
|
||||||
cp -r --no-preserve=mode,ownership $(srcdir)/metacity-1 $(ithemedarkerdir)
|
cp -r $(srcdir)/metacity-1 $(ithemedarkerdir)
|
||||||
|
|
||||||
cd $(ithemedarkerdir)/metacity-1 && \
|
cd $(ithemedarkerdir)/metacity-1 && \
|
||||||
mv metacity-theme-1-dark.xml metacity-theme-1.xml && \
|
mv metacity-theme-1-dark.xml metacity-theme-1.xml && \
|
||||||
@ -210,7 +210,7 @@ if ENABLE_DARKER
|
|||||||
endif # ENABLE_DARKER
|
endif # ENABLE_DARKER
|
||||||
|
|
||||||
if ENABLE_DARK
|
if ENABLE_DARK
|
||||||
cp -r --no-preserve=mode,ownership $(srcdir)/metacity-1 $(ithemedarkdir)
|
cp -r $(srcdir)/metacity-1 $(ithemedarkdir)
|
||||||
|
|
||||||
cd $(ithemedarkdir)/metacity-1 && \
|
cd $(ithemedarkdir)/metacity-1 && \
|
||||||
mv metacity-theme-1-dark.xml metacity-theme-1.xml && \
|
mv metacity-theme-1-dark.xml metacity-theme-1.xml && \
|
||||||
@ -223,13 +223,13 @@ endif # ENABLE_METACITY
|
|||||||
if ENABLE_UNITY
|
if ENABLE_UNITY
|
||||||
|
|
||||||
if ENABLE_LIGHT
|
if ENABLE_LIGHT
|
||||||
cp -r --no-preserve=mode,ownership $(srcdir)/unity $(ithemedir)
|
cp -r $(srcdir)/unity $(ithemedir)
|
||||||
|
|
||||||
cd $(ithemedir)/unity && rm -rf window-buttons-dark
|
cd $(ithemedir)/unity && rm -rf window-buttons-dark
|
||||||
endif # ENABLE_LIGHT
|
endif # ENABLE_LIGHT
|
||||||
|
|
||||||
if ENABLE_DARKER
|
if ENABLE_DARKER
|
||||||
cp -r --no-preserve=mode,ownership $(srcdir)/unity $(ithemedarkerdir)
|
cp -r $(srcdir)/unity $(ithemedarkerdir)
|
||||||
|
|
||||||
cd $(ithemedarkerdir)/unity && \
|
cd $(ithemedarkerdir)/unity && \
|
||||||
rm -rf window-buttons && \
|
rm -rf window-buttons && \
|
||||||
@ -237,7 +237,7 @@ if ENABLE_DARKER
|
|||||||
endif # ENABLE_DARKER
|
endif # ENABLE_DARKER
|
||||||
|
|
||||||
if ENABLE_DARK
|
if ENABLE_DARK
|
||||||
cp -r --no-preserve=mode,ownership $(srcdir)/unity $(ithemedarkdir)
|
cp -r $(srcdir)/unity $(ithemedarkdir)
|
||||||
|
|
||||||
cd $(ithemedarkdir)/unity && \
|
cd $(ithemedarkdir)/unity && \
|
||||||
rm -rf window-buttons && \
|
rm -rf window-buttons && \
|
||||||
@ -249,22 +249,22 @@ endif # ENABLE_UNITY
|
|||||||
|
|
||||||
if ENABLE_XFCE_NOTIFY
|
if ENABLE_XFCE_NOTIFY
|
||||||
$(MKDIR_P) $(ithemedir)
|
$(MKDIR_P) $(ithemedir)
|
||||||
cp -r --no-preserve=mode,ownership $(srcdir)/xfce-notify-4.0 $(ithemedir)
|
cp -r $(srcdir)/xfce-notify-4.0 $(ithemedir)
|
||||||
endif # ENABLE_XFCE_NOTIFY
|
endif # ENABLE_XFCE_NOTIFY
|
||||||
|
|
||||||
|
|
||||||
if ENABLE_XFWM
|
if ENABLE_XFWM
|
||||||
|
|
||||||
if ENABLE_LIGHT
|
if ENABLE_LIGHT
|
||||||
cp -r --no-preserve=mode,ownership $(srcdir)/xfwm4 $(ithemedir)
|
cp -r $(srcdir)/xfwm4 $(ithemedir)
|
||||||
endif # ENABLE_LIGHT
|
endif # ENABLE_LIGHT
|
||||||
|
|
||||||
if ENABLE_DARKER
|
if ENABLE_DARKER
|
||||||
cp -r --no-preserve=mode,ownership $(srcdir)/xfwm4-dark $(ithemedarkerdir)/xfwm4
|
cp -r $(srcdir)/xfwm4-dark $(ithemedarkerdir)/xfwm4
|
||||||
endif # ENABLE_DARKER
|
endif # ENABLE_DARKER
|
||||||
|
|
||||||
if ENABLE_DARK
|
if ENABLE_DARK
|
||||||
cp -r --no-preserve=mode,ownership $(srcdir)/xfwm4-dark $(ithemedarkdir)/xfwm4
|
cp -r $(srcdir)/xfwm4-dark $(ithemedarkdir)/xfwm4
|
||||||
endif # ENABLE_DARK
|
endif # ENABLE_DARK
|
||||||
|
|
||||||
endif # ENABLE_XFWM
|
endif # ENABLE_XFWM
|
||||||
|
Loading…
Reference in New Issue
Block a user