summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 66865d5fd32f9668af16527c901dfd09f463be4d (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 = 4
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