From 3acadd4924eaef5fa31bf8982f52b3b893cf003a Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Wed, 27 Oct 2010 20:13:31 +0000 Subject: [PATCH] make dist-building more pleasant (put .tar.gz in builds/ directory) --- Makefile.builds.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile.builds.in b/Makefile.builds.in index 94f5235db..1aa79d220 100644 --- a/Makefile.builds.in +++ b/Makefile.builds.in @@ -29,6 +29,7 @@ prefix = @prefix@ bindir = @bindir@ libdir = @libdir@ abs_builddir = @abs_builddir@ +distdir = @PACKAGE@-@VERSION@ # Are we building static/dynamic libraries/binaries? One or the other can be # on, or both. @@ -113,6 +114,12 @@ check test units regress: all regress%: all (cd $(CURRENT_BUILD)/test && $(MAKE) $@) +dist: + (cd $(CURRENT_BUILD) && $(MAKE) $@) + $(install_sh) \ + $(CURRENT_BUILD)/$(distdir).tar.gz \ + "`pwd`" + TAGS tags: (cd $(CURRENT_BUILD) && $(MAKE) $@) ln -sf $(CURRENT_BUILD)/TAGS . -- 2.30.2