← Back to team overview

maria-developers team mailing list archive

bzr commit into MariaDB 5.1, with Maria 1.5:maria branch (knielsen:2746)

 

#At lp:maria

 2746 knielsen@xxxxxxxxxxxxxxx	2009-10-02
      Add a simple way to robustly get the name of the generated source tarball, so as to not
      to have to rely on fragile regexp-parsing of configure.in.
      modified:
        Makefile.am

=== modified file 'Makefile.am'
--- a/Makefile.am	2009-09-30 12:45:03 +0000
+++ b/Makefile.am	2009-10-02 09:40:03 +0000
@@ -60,6 +60,11 @@ dist-hook:
 		--srcdir=$(top_srcdir)
 	storage/myisam/myisamchk --silent --fast $(distdir)/win/data/mysql/*.MYI
 
+# Simple target to allow scripts etc. to get the name of the source
+# tarball easily.
+show-dist-name:
+	@echo "$(PACKAGE)-$(VERSION)"
+
 all-local:		@ABI_CHECK@	
 
 tags: