From adc718b46e1cf9238dfaba11ca52736857b73c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Sun, 1 Jul 2012 15:03:04 +0000 Subject: adapt Makefile for only one XFCE flavour --- Makefile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.1