Mercurial > mxe-octave
diff Makefile.in @ 3045:4558fcd35fbb
dist target and list of files to distribute
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 12 Jun 2013 14:31:00 -0400 |
parents | eb1a22446662 |
children | f23cc822f52d |
line wrap: on
line diff
--- a/Makefile.in Wed Jun 12 14:09:28 2013 -0400 +++ b/Makefile.in Wed Jun 12 14:31:00 2013 -0400 @@ -445,3 +445,17 @@ rm -f $(TOP_DIR)/tmp-cleanup-style; \ ) +# Files to distribute +include dist-files.mk + +PACKAGE_VERSION := @PACKAGE_VERSION@ +PACKAGE_TARNAME := @PACKAGE_TARNAME@ + +distdir := $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) + +.PHONY: dist +dist: + rm -rf $(distdir) + mkdir $(distdir) + tar cf - $(DIST_FILES) | ( cd $(distdir) ; tar xpf - ) + tar czf $(distdir).tar.gz $(distdir)