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)/menus |
19 |
|
|
install -m 644 common/menus/xfce-applications.menu $(DESTDIR)$(xfceconfdir)/menus/xfce-applications.menu |
20 |
|
|
-install -d $(DESTDIR)$(xfceconfdir)/xfce4 |
21 |
|
|
-install -d $(DESTDIR)$(xfceconfdir)/xfce4/desktop |
22 |
|
|
-install -d $(DESTDIR)$(xfceconfdir)/xfce4/panel |
23 |
|
|
-install -d $(DESTDIR)$(xfceconfdir)/xfce4/theme |
24 |
|
|
-install -d $(DESTDIR)$(xfceconfdir)/xfce4/xfconf/xfce-perchannel-xml |
25 |
ahmad |
655 |
cp -pr common/xfce4/panel/* $(DESTDIR)$(xfceconfdir)/xfce4/panel/ |
26 |
ahmad |
571 |
install -m 644 common/xfce4/theme/* $(DESTDIR)$(xfceconfdir)/xfce4/theme/ |
27 |
|
|
install -m 644 common/xfce4/xfconf/xfce-perchannel-xml/* $(DESTDIR)$(xfceconfdir)/xfce4/xfconf/xfce-perchannel-xml/ |
28 |
|
|
install -m 644 common/xfce4/*.rc $(DESTDIR)$(xfceconfdir)/xfce4 |
29 |
|
|
install -m 644 common/xfce4/*.xrdb $(DESTDIR)$(xfceconfdir)/xfce4 |
30 |
|
|
|
31 |
|
|
cleandist: |
32 |
wally |
5083 |
rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.xz |
33 |
ahmad |
571 |
|
34 |
|
|
localcopy: |
35 |
|
|
svn export -q -rBASE . $(PACKAGE)-$(VERSION) |
36 |
|
|
|
37 |
|
|
tar: |
38 |
wally |
4164 |
tar cvaf $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION) |
39 |
ahmad |
571 |
rm -rf $(PACKAGE)-$(VERSION) |
40 |
|
|
|
41 |
wally |
5089 |
tar-git: |
42 |
wally |
5088 |
@git archive --prefix=$(PACKAGE)-$(VERSION)/ HEAD | xz > $(PACKAGE)-$(VERSION).tar.xz; |
43 |
|
|
|
44 |
ahmad |
571 |
dist: cleandist localcopy tar |
45 |
|
|
|
46 |
|
|
.PHONY: ChangeLog log changelog |
47 |
|
|
|
48 |
|
|
log: ChangeLog |
49 |
|
|
|
50 |
|
|
changelog: ChangeLog |
51 |
|
|
|
52 |
|
|
ChangeLog: ../common/username.xml |
53 |
|
|
svn2cl --accum --authors ../../soft/common/username.xml |
54 |
|
|
rm -f *.bak |
55 |
|
|
svn commit -m "Generated by svn2cl the `LC_TIME=C date '+%d_%b'`" ChangeLog |