summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 7caecf904d6aead9eb70e3f4085963ed98f00c53 (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.5

prefix=$(prefix)
lxdeprofdir=$(localstatedir)/mandriva/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)/Free
	install -m 644 Free/desktop.conf $(DESTDIR)$(lxdeprofdir)/Free

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