[pitivi] Add a target to generate tarball
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Add a target to generate tarball
- Date: Fri, 15 Jul 2016 14:31:52 +0000 (UTC)
commit 3ddc667ef7e17c7547ec181710aedeebd34f1d89
Author: Thibault Saunier <tsaunier gnome org>
Date: Fri Jul 8 11:37:28 2016 -0400
Add a target to generate tarball
We use git-archive-all as we also want to bundle submodules
And rename files with spaces
Differential Revision: https://phabricator.freedesktop.org/D1162
configure | 3 +++
data/pixmaps/transitions/misc-diagonal-dbd.svg | 2 +-
...n template.svg => transition_icon_template.svg} | 2 +-
meson.build | 10 ++++++++++
4 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/configure b/configure
index a4a7636..f2bbce8 100755
--- a/configure
+++ b/configure
@@ -65,6 +65,9 @@ install:
check:
cd $BUILDDIR && $NINJA test
+dist:
+ cd $BUILDDIR && $NINJA dist
+
clean:
rm -Rf $BUILDDIR
rm Makefile
diff --git a/data/pixmaps/transitions/misc-diagonal-dbd.svg b/data/pixmaps/transitions/misc-diagonal-dbd.svg
index 8ffcc15..796e433 100644
--- a/data/pixmaps/transitions/misc-diagonal-dbd.svg
+++ b/data/pixmaps/transitions/misc-diagonal-dbd.svg
@@ -15,7 +15,7 @@
id="svg2"
version="1.1"
inkscape:version="0.48.1 r9760"
- sodipodi:docname="transition icon template.svg">
+ sodipodi:docname="transition_icon_template.svg">
<defs
id="defs4">
<linearGradient
diff --git a/data/pixmaps/transitions/transition icon template.svg
b/data/pixmaps/transitions/transition_icon_template.svg
similarity index 99%
rename from data/pixmaps/transitions/transition icon template.svg
rename to data/pixmaps/transitions/transition_icon_template.svg
index fa577c3..c3ef1a1 100644
--- a/data/pixmaps/transitions/transition icon template.svg
+++ b/data/pixmaps/transitions/transition_icon_template.svg
@@ -15,7 +15,7 @@
id="svg2"
version="1.1"
inkscape:version="0.48.1 r9760"
- sodipodi:docname="transition icon template.svg">
+ sodipodi:docname="transition_icon_template.svg">
<defs
id="defs4">
<linearGradient
diff --git a/meson.build b/meson.build
index a2b999f..3b858b7 100644
--- a/meson.build
+++ b/meson.build
@@ -61,3 +61,13 @@ if not get_option('disable-help')
subdir('help')
endif
subdir('tests')
+
+archiver = find_program('git-archive-all', required : false)
+if archiver.found()
+ run_target('dist', 'git-archive-all', '--prefix=pitivi',
+ 'pitivi-' + meson.project_version() + '.tar.gz')
+else
+ message('git-archive-all not found, you will not be able to run `ninja dist`')
+ message('Install git-archive-all with pip:')
+ message(' $ pip install git-archive-all')
+endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]