summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 4f862075b6d69dd387deb267d022c07e3d138925 (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
PACKAGE = mageia-kde4-config
PKGVERSION = $(VERSION)
VERSION = 5
DATE = `date  +%Y%m%d`
.PHONY: all $(DIRS) clean

clean:
	# TODO



# rules to build tarball
localcopy: clean
	rm -rf $(PACKAGE)-$(PKGVERSION)*
	svn export -q -rBASE . $(PACKAGE)-$(PKGVERSION)

localdist: tar

tar: localcopy
	tar cfa $(PACKAGE)-$(PKGVERSION).$(DATE).tar.xz $(PACKAGE)-$(PKGVERSION)
	rm -rf $(PACKAGE)-$(PKGVERSION)
	
export:
	git archive --prefix $(PACKAGE)-$(PKGVERSION)/ HEAD | xz -9 > $(PACKAGE)-$(PKGVERSION).$(DATE).tar.xz