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)