summaryrefslogtreecommitdiff
path: root/Makefile.builds.in
diff options
context:
space:
mode:
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