gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: meson: add dist script for versioning in


From: gnunet
Subject: [gnunet] branch master updated: meson: add dist script for versioning in tarball
Date: Tue, 17 Dec 2024 17:09:42 +0100

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new d33b40b78 meson: add dist script for versioning in tarball
d33b40b78 is described below

commit d33b40b780d8fbb1dcf2b27eb873fe36174f4a9f
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Tue Dec 17 17:08:28 2024 +0100

    meson: add dist script for versioning in tarball
---
 .gitignore        | 2 ++
 meson-dist-script | 3 +++
 meson.build       | 2 ++
 3 files changed, 7 insertions(+)

diff --git a/.gitignore b/.gitignore
index 4c49722fa..6e09d32dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,8 @@
 # Unignore all dirs
 !*/
 
+!meson-dist-script
+
 *~
 \#*\#
 gnunet-*.tar.gz
diff --git a/meson-dist-script b/meson-dist-script
new file mode 100755
index 000000000..de28a991d
--- /dev/null
+++ b/meson-dist-script
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+cp $MESON_SOURCE_ROOT/.version $MESON_DIST_ROOT
diff --git a/meson.build b/meson.build
index 3e5e81ea2..d9b496d82 100644
--- a/meson.build
+++ b/meson.build
@@ -494,6 +494,8 @@ subdir('doc')
 subdir('contrib')
 subdir('data')
 
+meson.add_dist_script('meson-dist-script')
+
 gnunet_prefix = get_option('prefix')/get_option('libdir')
 
 add_test_setup('default', env: ['GNUNET_PREFIX='+gnunet_prefix], 
exclude_suites: ['perf'], is_default: true)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]