summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 6b1b1c650d5a04f4e545883a57272ca7eca0455c (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 = mandriva-lxde-config
VERSION = 0.4

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

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

	-install -d $(DESTDIR)$(lxdeprofdir)/Flash
	install -m 644 Flash/config $(DESTDIR)$(lxdeprofdir)/Flash

	-install -d $(DESTDIR)$(lxdeprofdir)/Free
	install -m 644 Free/config $(DESTDIR)$(lxdeprofdir)/Free

	-install -d $(DESTDIR)$(lxdeprofdir)/One
	install -m 644 One/config $(DESTDIR)$(lxdeprofdir)/One

	-install -d $(DESTDIR)$(lxdeprofdir)/Powerpack
	install -m 644 Powerpack/config $(DESTDIR)$(lxdeprofdir)/Powerpack

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

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

tar:
	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