aboutsummaryrefslogtreecommitdiff
path: root/common/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'common/Makefile.am')
-rw-r--r--common/Makefile.am38
1 files changed, 21 insertions, 17 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index 19b2c8a..6e40e8f 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -248,20 +248,24 @@ endif # ENABLE_XFWM
uninstall-local:
rm -rf $(ithemedir)
- -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)
+if ENABLE_DARKER
+ rm -rf $(ithemedarkerdir)
+endif # ENABLE_DARKER
+
+if ENABLE_DARK
+ rm -rf $(ithemedarkdir)
+endif # ENABLE_DARK
+
+
+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