aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2012-07-01 15:03:04 +0000
committerJani Välimaa <wally@mageia.org>2012-07-01 15:03:04 +0000
commitadc718b46e1cf9238dfaba11ca52736857b73c6e (patch)
tree8eee4a944361611516fe686b5ed98e9ac5ce6cae /Makefile
parent415f9328f191c127acbd34ba5ab8caf152376c7f (diff)
downloadconfig-adc718b46e1cf9238dfaba11ca52736857b73c6e.tar
config-adc718b46e1cf9238dfaba11ca52736857b73c6e.tar.gz
config-adc718b46e1cf9238dfaba11ca52736857b73c6e.tar.bz2
config-adc718b46e1cf9238dfaba11ca52736857b73c6e.tar.xz
config-adc718b46e1cf9238dfaba11ca52736857b73c6e.zip
adapt Makefile for only one XFCE flavour
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index a35dea3..dae1680 100644
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,12 @@
# ahmadsamir3891@gmail.com
# wally@mageia.org
+include Makefile.config
+
PACKAGE = mageia-xfce-config
VERSION = `date +%Y%m%d`
-PREFIX=$(prefix)
xfceconfdir=$(sysconfdir)
-xfceprofdir=$(localstatedir)/mageia/xfce-profiles
install:
-install -d $(DESTDIR)$(xfceconfdir)
@@ -27,19 +27,14 @@ install:
-install -d $(DESTDIR)$(xfceconfdir)/xfce4/theme
# -install -d $(DESTDIR)$(xfceconfdir)/xfce4/volstatus
-install -d $(DESTDIR)$(xfceconfdir)/xfce4/xfconf/xfce-perchannel-xml
- -install -d $(DESTDIR)$(PREFIX)/bin
+ -install -d $(DESTDIR)$(prefix)/bin
cp -pr common/xfce4/panel/* $(DESTDIR)$(xfceconfdir)/xfce4/panel/
install -m 644 common/xfce4/theme/* $(DESTDIR)$(xfceconfdir)/xfce4/theme/
# install -m 644 common/xfce4/volstatus/* $(DESTDIR)$(xfceconfdir)/xfce4/volstatus/
install -m 644 common/xfce4/xfconf/xfce-perchannel-xml/* $(DESTDIR)$(xfceconfdir)/xfce4/xfconf/xfce-perchannel-xml/
install -m 644 common/xfce4/*.rc $(DESTDIR)$(xfceconfdir)/xfce4
install -m 644 common/xfce4/*.xrdb $(DESTDIR)$(xfceconfdir)/xfce4
- install -m 755 tools/xfce4-firstrun $(DESTDIR)$(PREFIX)/bin
-
- -install -d $(DESTDIR)$(xfceprofdir)
- -install -d $(DESTDIR)$(xfceprofdir)/Default/xfce4/xfconf/xfce-perchannel-xml
-
- install -m 644 Default/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml $(DESTDIR)$(xfceprofdir)/Default/xfce4/xfconf/xfce-perchannel-xml
+ install -m 755 tools/xfce4-firstrun $(DESTDIR)$(prefix)/bin
cleandist:
rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.xz