aboutsummaryrefslogtreecommitdiff
path: root/common/Makefile.am
diff options
context:
space:
mode:
authorHorst31802015-08-23 13:38:23 +0200
committerHorst31802015-08-23 13:38:23 +0200
commit2972de1b747a88a37e0f6e966577c19a4598366f (patch)
treed0adfc47a66f72d223c6ca242aa1c7955b4ec5b3 /common/Makefile.am
parent5110030cfdbde294516fbff68baa41c41576d706 (diff)
downloadsolarc-theme-2972de1b747a88a37e0f6e966577c19a4598366f.tar.gz
solarc-theme-2972de1b747a88a37e0f6e966577c19a4598366f.tar.xz
solarc-theme-2972de1b747a88a37e0f6e966577c19a4598366f.zip
fix distcheck
Diffstat (limited to 'common/Makefile.am')
-rw-r--r--common/Makefile.am41
1 files changed, 24 insertions, 17 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index 19b2c8a..d6f732a 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -246,22 +246,29 @@ endif # ENABLE_XFWM
uninstall-local:
+
+if ENABLE_LIGHT
rm -rf $(ithemedir)
+endif # ENABLE_LIGHT
+
+if ENABLE_DARKER
+ rm -rf $(ithemedarkerdir)
+endif # ENABLE_DARKER
+
+if ENABLE_DARK
+ rm -rf $(ithemedarkdir)
+endif # ENABLE_DARK
+
- -rmdir -p $(DESTDIR)$(datadir)/themes 2>/dev/null
-
-
-dist-hook:
- cp -r \
- cinnamon \
- gnome-shell \
- gtk-2.0 \
- gtk-3.0 \
- metacity-1 \
- unity \
- xfwm4 \
- xfwm4-dark \
- index.theme \
- index.theme-darker \
- index.theme-dark \
- $(distdir)
+EXTRA_DIST = $(srcdir)/cinnamon \
+ $(srcdir)/gnome-shell \
+ $(srcdir)/gtk-2.0 \
+ $(srcdir)/gtk-3.0 \
+ $(srcdir)/metacity-1 \
+ $(srcdir)/unity \
+ $(srcdir)/xfce-notify-4.0 \
+ $(srcdir)/xfwm4 \
+ $(srcdir)/xfwm4-dark \
+ $(srcdir)/index.theme \
+ $(srcdir)/index.theme-darker \
+ $(srcdir)/index.theme-dark