diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 77e5ea2..0000000 --- a/Makefile +++ /dev/null @@ -1,82 +0,0 @@ -# original author tpg@mandriva.org -# -# modifications for mageia: -# ahmadsamir3891@gmail.com -# wally@mageia.org - -NAME = mageia-xfce-config - -# Versioning scheme uses Xfce version as base. 'Zero' after $(XFCEVERSION) -# separates our versions from Xfce version. Next part, $(MGAVERSION), identifies -# current Mageia release. Last $(RELEASE) part identifies sequential release -# number of the package. -# -# So: -# * Change $(XFCEVERSION) only when Xfce version changes. -# * Change $(MGAVERSION) when doing a new release after new stable Mageia version is released -# * Increase $(RELEASE) when releasing a new release. -# * Note that numbering goes with following sequence 0,1..9,10,11..99,100,101 -# and so on. -# -# Examples of version numbers: -# * 4.100.1.0 (Initial Xfce 4.10 settings version) -# * 4.100.5.2 (Second release of Xfce 4.10 settings for Mageia 5) - -XFCEVERSION = 4.10 -MGAVERSION = 5 -RELEASE = 8 - -VERSION = $(XFCEVERSION)0.$(MGAVERSION).$(RELEASE) - -DESTDIR= -prefix=/usr -datadir=$(prefix)/share -sysconfdir=/etc -iconsdir=$(datadir)/icons -xfceconfdir=$(sysconfdir)/xdg - -install: - -install -d $(DESTDIR)$(xfceconfdir) - -install -d $(DESTDIR)$(xfceconfdir)/Thunar - install -m 644 data/Thunar/* $(DESTDIR)$(xfceconfdir)/Thunar/ - -install -d $(DESTDIR)$(xfceconfdir)/orage - install -m 644 data/orage/* $(DESTDIR)$(xfceconfdir)/orage/ - -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 - -dist: - rm -rf ../$(NAME)-$(XFCEVERSION)*.tar* - @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz >../$(NAME)-$(VERSION).tar.xz; - - $(info $(NAME)-$(VERSION).tar.xz is ready) - -news: - @if grep -q $(VERSION) NEWS; then \ - echo ""; \ - echo "Version $(VERSION) already exists in NEWS file!"; \ - echo "Please update version in Makefile first."; \ - echo ""; \ - exit 1; \ - else \ - sed -i -e "1i Version $(VERSION) - $$(date --rfc-3339=date)" NEWS; \ - echo "";\ - echo "Updated NEWS";\ - echo "";\ - fi; - -NEWS: news - -.PHONY: ChangeLog NEWS - |