summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 22d2ab697f2d46618f8be70ecab4661d7b3f0580 (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
NAME = draklive-install
VERSION = 1.16.2

dli_confdir = ${sysconfdir}/$(NAME).d
dli_sysconfigdir = $(dli_confdir)/sysconfig

all:
	make -C po

install:
	install -d $(dli_sysconfigdir)
	make -C po install

dis: clean
	rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
	svn export -q -rBASE . $(NAME)-$(VERSION)
	find $(NAME)-$(VERSION) -name .svnignore |xargs rm -rf
	tar cfY ../$(NAME)-$(VERSION).tar.lzma $(NAME)-$(VERSION)
	rm -rf $(NAME)-$(VERSION)

check:
	perl -cw $(NAME)

clean:
	make -C po clean
	find -name '*~' -exec rm {} \;

.PHONY: ChangeLog log changelog

log: ChangeLog

changelog: ChangeLog

ChangeLog:
	svn2cl --accum --authors ../../soft/common/username.xml
	rm -f *.bak