summaryrefslogtreecommitdiff
path: root/Makefile.builds.in
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-10-27 20:13:31 +0000
committerMorgan Deters <mdeters@gmail.com>2010-10-27 20:13:31 +0000
commit3acadd4924eaef5fa31bf8982f52b3b893cf003a (patch)
treeaa42dff3614a55a02784438fd83ba4d38e99b8f4 /Makefile.builds.in
parent1004929b17708eb3a6043567f55b5e7b0b1eeab3 (diff)
make dist-building more pleasant (put .tar.gz in builds/ directory)
Diffstat (limited to 'Makefile.builds.in')
-rw-r--r--Makefile.builds.in7
1 files changed, 7 insertions, 0 deletions
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 .
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback