/[soft]/mageia-xfce-config/branches/3/Makefile
ViewVC logotype

Annotation of /mageia-xfce-config/branches/3/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8366 - (hide annotations) (download)
Fri May 24 21:17:53 2013 UTC (10 years, 10 months ago) by wally
File size: 1967 byte(s)
- branching for updates
1 wally 5084 # original author tpg@mandriva.org
2     #
3     # modifications for mageia:
4     # ahmadsamir3891@gmail.com
5     # wally@mageia.org
6    
7 ahmad 571 PACKAGE = mageia-xfce-config
8     VERSION = `date +%Y%m%d`
9    
10 wally 6898 prefix=/usr
11     datadir=$(prefix)/share
12     sysconfdir=/etc
13     iconsdir=$(datadir)/icons
14     xfceconfdir=$(sysconfdir)/xdg
15    
16 ahmad 571 install:
17     -install -d $(DESTDIR)$(xfceconfdir)
18     -install -d $(DESTDIR)$(xfceconfdir)/Thunar
19 wally 5141 install -m 644 data/Thunar/* $(DESTDIR)$(xfceconfdir)/Thunar/
20 ahmad 571 -install -d $(DESTDIR)$(xfceconfdir)/menus
21 wally 5141 install -m 644 data/menus/xfce-applications.menu $(DESTDIR)$(xfceconfdir)/menus/xfce-applications.menu
22 ahmad 571 -install -d $(DESTDIR)$(xfceconfdir)/xfce4
23     -install -d $(DESTDIR)$(xfceconfdir)/xfce4/desktop
24     -install -d $(DESTDIR)$(xfceconfdir)/xfce4/panel
25 wally 6897 -install -d $(DESTDIR)$(xfceconfdir)/xfce4/terminal
26 ahmad 571 -install -d $(DESTDIR)$(xfceconfdir)/xfce4/theme
27     -install -d $(DESTDIR)$(xfceconfdir)/xfce4/xfconf/xfce-perchannel-xml
28 wally 5141 cp -pr data/xfce4/panel/* $(DESTDIR)$(xfceconfdir)/xfce4/panel/
29 wally 6897 install -m 644 data/xfce4/terminal/* $(DESTDIR)$(xfceconfdir)/xfce4/terminal/
30 wally 5141 install -m 644 data/xfce4/theme/* $(DESTDIR)$(xfceconfdir)/xfce4/theme/
31     install -m 644 data/xfce4/xfconf/xfce-perchannel-xml/* $(DESTDIR)$(xfceconfdir)/xfce4/xfconf/xfce-perchannel-xml/
32     install -m 644 data/xfce4/*.rc $(DESTDIR)$(xfceconfdir)/xfce4
33     install -m 644 data/xfce4/*.xrdb $(DESTDIR)$(xfceconfdir)/xfce4
34 ahmad 571
35     cleandist:
36 wally 5083 rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.xz
37 ahmad 571
38     localcopy:
39     svn export -q -rBASE . $(PACKAGE)-$(VERSION)
40    
41 wally 5142 tar: cleandist localcopy
42 wally 4164 tar cvaf $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION)
43 ahmad 571 rm -rf $(PACKAGE)-$(VERSION)
44    
45 wally 5089 tar-git:
46 wally 5088 @git archive --prefix=$(PACKAGE)-$(VERSION)/ HEAD | xz > $(PACKAGE)-$(VERSION).tar.xz;
47    
48 wally 5142 dist: tar
49 ahmad 571
50     .PHONY: ChangeLog log changelog
51    
52     log: ChangeLog
53    
54     changelog: ChangeLog
55    
56     ChangeLog: ../common/username.xml
57     svn2cl --accum --authors ../../soft/common/username.xml
58     rm -f *.bak
59     svn commit -m "Generated by svn2cl the `LC_TIME=C date '+%d_%b'`" ChangeLog

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.30