summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 10ddd33ce5a4ca4ba0116f420325eec3288ffd66 (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

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