# original author tpg@mandriva.org # # modifications for mageia: # ahmadsamir3891@gmail.com # wally@mageia.org PACKAGE = mageia-xfce-config VERSION = `date +%Y%m%d` prefix=/usr datadir=$(prefix)/share sysconfdir=/etc iconsdir=$(datadir)/icons xfceconfdir=$(sysconfdir)/xdg install: -install -d $(DESTDIR)$(xfceconfdir) install -m 644 data/Terminal/* $(DESTDIR)$(xfceconfdir)/Terminal/ -install -d $(DESTDIR)$(xfceconfdir)/Thunar install -m 644 data/Thunar/* $(DESTDIR)$(xfceconfdir)/Thunar/ -install -d $(DESTDIR)$(xfceconfdir)/menus install -m 644 data/menus/xfce-applications.menu $(DESTDIR)$(xfceconfdir)/menus/xfce-applications.menu -install -d $(DESTDIR)$(xfceconfdir)/xfce4 -install -d $(DESTDIR)$(xfceconfdir)/xfce4/desktop -install -d $(DESTDIR)$(xfceconfdir)/xfce4/panel -install -d $(DESTDIR)$(xfceconfdir)/xfce4/terminal -install -d $(DESTDIR)$(xfceconfdir)/xfce4/theme -install -d $(DESTDIR)$(xfceconfdir)/xfce4/xfconf/xfce-perchannel-xml cp -pr data/xfce4/panel/* $(DESTDIR)$(xfceconfdir)/xfce4/panel/ install -m 644 data/xfce4/terminal/* $(DESTDIR)$(xfceconfdir)/xfce4/terminal/ install -m 644 data/xfce4/theme/* $(DESTDIR)$(xfceconfdir)/xfce4/theme/ install -m 644 data/xfce4/xfconf/xfce-perchannel-xml/* $(DESTDIR)$(xfceconfdir)/xfce4/xfconf/xfce-perchannel-xml/ install -m 644 data/xfce4/*.rc $(DESTDIR)$(xfceconfdir)/xfce4 install -m 644 data/xfce4/*.xrdb $(DESTDIR)$(xfceconfdir)/xfce4 cleandist: rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.xz localcopy: svn export -q -rBASE . $(PACKAGE)-$(VERSION) tar: cleandist localcopy tar cvaf $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION) rm -rf $(PACKAGE)-$(VERSION) tar-git: @git archive --prefix=$(PACKAGE)-$(VERSION)/ HEAD | xz > $(PACKAGE)-$(VERSION).tar.xz; dist: tar .PHONY: ChangeLog log changelog log: ChangeLog changelog: ChangeLog ChangeLog: ../common/username.xml svn2cl --accum --authors ../../soft/common/username.xml rm -f *.bak svn commit -m "Generated by svn2cl the `LC_TIME=C date '+%d_%b'`" ChangeLog