/[soft]/draklive-install/trunk/Makefile
ViewVC logotype

Contents of /draklive-install/trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 815 - (show annotations) (download)
Sun Apr 3 16:31:45 2011 UTC (12 years, 11 months ago) by blino
File size: 1122 byte(s)
1.32
1 NAME = draklive-install
2 VERSION = 1.32
3
4 dli_confdir = ${sysconfdir}/$(NAME).d
5 dli_sysconfigdir = $(dli_confdir)/sysconfig
6
7 all: mageia-draklive-install.desktop draklive-install.desktop
8 make -C po
9
10 install:
11 install -d $(dli_sysconfigdir)
12 make -C po install
13
14 dist: dis
15 dis: clean
16 rm -rf ../$(NAME)-$(VERSION)*.tar* $(NAME)-$(VERSION)
17 @if [ -e ".svn" ]; then \
18 $(MAKE) dist-svn; \
19 elif [ -e ".git" ]; then \
20 $(MAKE) dist-git; \
21 else \
22 echo "Unknown SCM (not SVN nor GIT)";\
23 exit 1; \
24 fi;
25 $(info $(NAME)-$(VERSION).tar.lzma is ready)
26
27 dist-svn:
28 svn export -q -rBASE . $(NAME)-$(VERSION)
29 tar cfY ../$(NAME)-$(VERSION).tar.lzma $(NAME)-$(VERSION)
30 rm -rf $(NAME)-$(VERSION)
31
32 dist-git:
33 @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | lzma >../$(NAME)-$(VERSION).tar.lzma;
34
35 check:
36 perl -cw $(NAME)
37
38 clean:
39 make -C po clean
40 find -name '*~' -exec rm {} \;
41
42 .PHONY: ChangeLog log changelog
43
44 log: ChangeLog
45
46 changelog: ChangeLog
47
48 ChangeLog:
49 svn2cl --accum --authors ../../soft/common/username.xml
50 rm -f *.bak
51
52 %.desktop: %.desktop.in
53 intltool-merge --utf8 po \$< \$@ -d -u -c intltool-merge-cache
54

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.30