summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 1fa45e54b58bddbdcddd7a4da8e15cfb2101c598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
PACKAGE = mageia-lxde-config
VERSION = 0.6.1

prefix=$(prefix)
lxdeprofdir=$(localstatedir)/mageia/lxde-profiles

install:
	-install -d $(DESTDIR)$(lxdeprofdir)

#	-install -d $(DESTDIR)$(lxdeprofdir)/Flash
#	install -m 644 Flash/desktop.conf $(DESTDIR)$(lxdeprofdir)/Flash
#
	-install -d $(DESTDIR)$(lxdeprofdir)/Default
	install -m 644 Default/desktop.conf $(DESTDIR)$(lxdeprofdir)/Default
#
#	-install -d $(DESTDIR)$(lxdeprofdir)/One
#	install -m 644 One/desktop.conf $(DESTDIR)$(lxdeprofdir)/One
#
#	-install -d $(DESTDIR)$(lxdeprofdir)/Powerpack
#	install -m 644 Powerpack/desktop.conf $(DESTDIR)$(lxdeprofdir)/Powerpack

cleandist:
	rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.bz2

localcopy:
	svn export -q -rBASE . $(PACKAGE)-$(VERSION)

tar: localcopy
	tar cvf $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION)
	bzip2 -9vf $(PACKAGE)-$(VERSION).tar
	rm -rf $(PACKAGE)-$(VERSION)

dist: cleandist localcopy tar

.PHONY: ChangeLog log changelog

log: ChangeLog

changelog: ChangeLog

ChangeLog: ../../common/username.xml
	svn2cl --accum --authors ../../common/username.xml
	rm -f *.bak
	svn commit -m "Generated by svn2cl the `LC_TIME=C date '+%d_%b'`" ChangeLog