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