1 |
ahmad |
571 |
# tpg@mandriva.org |
2 |
|
|
PACKAGE = mageia-xfce-config |
3 |
|
|
VERSION = `date +%Y%m%d` |
4 |
|
|
|
5 |
|
|
PREFIX=$(prefix) |
6 |
|
|
xfceconfdir=$(sysconfdir) |
7 |
|
|
xfceprofdir=$(localstatedir)/mageia/xfce-profiles |
8 |
|
|
|
9 |
|
|
install: |
10 |
|
|
-install -d $(DESTDIR)$(xfceconfdir) |
11 |
|
|
-install -d $(DESTDIR)$(xfceconfdir)/Terminal |
12 |
|
|
install -m 644 common/Terminal/* $(DESTDIR)$(xfceconfdir)/Terminal/ |
13 |
|
|
-install -d $(DESTDIR)$(xfceconfdir)/Thunar |
14 |
|
|
install -m 644 common/Thunar/* $(DESTDIR)$(xfceconfdir)/Thunar/ |
15 |
|
|
-install -d $(DESTDIR)$(xfceconfdir)/autostart |
16 |
|
|
install -m 644 common/autostart/* $(DESTDIR)$(xfceconfdir)/autostart/ |
17 |
|
|
-install -d $(DESTDIR)$(xfceconfdir)/menus |
18 |
|
|
install -m 644 common/menus/xfce-applications.menu $(DESTDIR)$(xfceconfdir)/menus/xfce-applications.menu |
19 |
|
|
-install -d $(DESTDIR)$(xfceconfdir)/xfce4 |
20 |
|
|
-install -d $(DESTDIR)$(xfceconfdir)/xfce4/desktop |
21 |
|
|
-install -d $(DESTDIR)$(xfceconfdir)/xfce4/panel |
22 |
|
|
-install -d $(DESTDIR)$(xfceconfdir)/xfce4/theme |
23 |
ahmad |
734 |
# -install -d $(DESTDIR)$(xfceconfdir)/xfce4/volstatus |
24 |
ahmad |
571 |
-install -d $(DESTDIR)$(xfceconfdir)/xfce4/xfconf/xfce-perchannel-xml |
25 |
|
|
-install -d $(DESTDIR)$(PREFIX)/bin |
26 |
ahmad |
655 |
cp -pr common/xfce4/panel/* $(DESTDIR)$(xfceconfdir)/xfce4/panel/ |
27 |
ahmad |
571 |
install -m 644 common/xfce4/theme/* $(DESTDIR)$(xfceconfdir)/xfce4/theme/ |
28 |
ahmad |
734 |
# install -m 644 common/xfce4/volstatus/* $(DESTDIR)$(xfceconfdir)/xfce4/volstatus/ |
29 |
ahmad |
571 |
install -m 644 common/xfce4/xfconf/xfce-perchannel-xml/* $(DESTDIR)$(xfceconfdir)/xfce4/xfconf/xfce-perchannel-xml/ |
30 |
|
|
install -m 644 common/xfce4/*.rc $(DESTDIR)$(xfceconfdir)/xfce4 |
31 |
|
|
install -m 644 common/xfce4/*.xrdb $(DESTDIR)$(xfceconfdir)/xfce4 |
32 |
|
|
install -m 755 tools/xfce4-firstrun $(DESTDIR)$(PREFIX)/bin |
33 |
|
|
|
34 |
|
|
-install -d $(DESTDIR)$(xfceprofdir) |
35 |
ahmad |
576 |
-install -d $(DESTDIR)$(xfceprofdir)/Default/xfce4/xfconf/xfce-perchannel-xml |
36 |
ahmad |
571 |
|
37 |
ahmad |
576 |
install -m 644 Default/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml $(DESTDIR)$(xfceprofdir)/Default/xfce4/xfconf/xfce-perchannel-xml |
38 |
ahmad |
571 |
|
39 |
|
|
cleandist: |
40 |
wally |
5083 |
rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.xz |
41 |
ahmad |
571 |
|
42 |
|
|
localcopy: |
43 |
|
|
svn export -q -rBASE . $(PACKAGE)-$(VERSION) |
44 |
|
|
|
45 |
|
|
tar: |
46 |
wally |
4164 |
tar cvaf $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION) |
47 |
ahmad |
571 |
rm -rf $(PACKAGE)-$(VERSION) |
48 |
|
|
|
49 |
|
|
dist: cleandist localcopy tar |
50 |
|
|
|
51 |
|
|
.PHONY: ChangeLog log changelog |
52 |
|
|
|
53 |
|
|
log: ChangeLog |
54 |
|
|
|
55 |
|
|
changelog: ChangeLog |
56 |
|
|
|
57 |
|
|
ChangeLog: ../common/username.xml |
58 |
|
|
svn2cl --accum --authors ../../soft/common/username.xml |
59 |
|
|
rm -f *.bak |
60 |
|
|
svn commit -m "Generated by svn2cl the `LC_TIME=C date '+%d_%b'`" ChangeLog |