From: Bartosz Golaszewski <brgl@bgdev.pl>
To: Kent Gibson <warthog618@gmail.com>,
Linus Walleij <linus.walleij@linaro.org>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Viresh Kumar <viresh.kumar@linaro.org>
Cc: linux-gpio@vger.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Subject: [libgpiod][PATCH 08/11] bindings: rust: include rust sources in the release tarballs
Date: Wed, 30 Nov 2022 13:42:28 +0100 [thread overview]
Message-ID: <20221130124231.1054001-9-brgl@bgdev.pl> (raw)
In-Reply-To: <20221130124231.1054001-1-brgl@bgdev.pl>
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Rust sources and Cargo files are not added to EXTRA_DIST. Add them so that
they end up in the release tarballs generated by autotools.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
bindings/rust/Makefile.am | 4 ++++
bindings/rust/gpiosim-sys/Makefile.am | 6 ++++++
bindings/rust/gpiosim-sys/src/Makefile.am | 5 +++++
bindings/rust/libgpiod-sys/Makefile.am | 6 ++++++
bindings/rust/libgpiod-sys/src/Makefile.am | 5 +++++
bindings/rust/libgpiod/Makefile.am | 6 ++++++
bindings/rust/libgpiod/examples/Makefile.am | 14 ++++++++++++++
bindings/rust/libgpiod/src/Makefile.am | 15 +++++++++++++++
bindings/rust/libgpiod/tests/Makefile.am | 15 +++++++++++++++
bindings/rust/libgpiod/tests/common/Makefile.am | 5 +++++
configure.ac | 9 +++++++++
11 files changed, 90 insertions(+)
create mode 100644 bindings/rust/gpiosim-sys/Makefile.am
create mode 100644 bindings/rust/gpiosim-sys/src/Makefile.am
create mode 100644 bindings/rust/libgpiod-sys/Makefile.am
create mode 100644 bindings/rust/libgpiod-sys/src/Makefile.am
create mode 100644 bindings/rust/libgpiod/Makefile.am
create mode 100644 bindings/rust/libgpiod/examples/Makefile.am
create mode 100644 bindings/rust/libgpiod/src/Makefile.am
create mode 100644 bindings/rust/libgpiod/tests/Makefile.am
create mode 100644 bindings/rust/libgpiod/tests/common/Makefile.am
diff --git a/bindings/rust/Makefile.am b/bindings/rust/Makefile.am
index a0d0772..1e01024 100644
--- a/bindings/rust/Makefile.am
+++ b/bindings/rust/Makefile.am
@@ -17,3 +17,7 @@ all:
clean:
cargo clean
+
+EXTRA_DIST = Cargo.toml
+
+SUBDIRS = gpiosim-sys libgpiod libgpiod-sys
diff --git a/bindings/rust/gpiosim-sys/Makefile.am b/bindings/rust/gpiosim-sys/Makefile.am
new file mode 100644
index 0000000..9471b0e
--- /dev/null
+++ b/bindings/rust/gpiosim-sys/Makefile.am
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2022 Linaro Ltd.
+# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
+
+EXTRA_DIST = build.rs Cargo.toml README.md
+SUBDIRS = src
diff --git a/bindings/rust/gpiosim-sys/src/Makefile.am b/bindings/rust/gpiosim-sys/src/Makefile.am
new file mode 100644
index 0000000..af104d0
--- /dev/null
+++ b/bindings/rust/gpiosim-sys/src/Makefile.am
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2022 Linaro Ltd.
+# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
+
+EXTRA_DIST = lib.rs sim.rs
diff --git a/bindings/rust/libgpiod-sys/Makefile.am b/bindings/rust/libgpiod-sys/Makefile.am
new file mode 100644
index 0000000..9471b0e
--- /dev/null
+++ b/bindings/rust/libgpiod-sys/Makefile.am
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2022 Linaro Ltd.
+# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
+
+EXTRA_DIST = build.rs Cargo.toml README.md
+SUBDIRS = src
diff --git a/bindings/rust/libgpiod-sys/src/Makefile.am b/bindings/rust/libgpiod-sys/src/Makefile.am
new file mode 100644
index 0000000..36361e7
--- /dev/null
+++ b/bindings/rust/libgpiod-sys/src/Makefile.am
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2022 Linaro Ltd.
+# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
+
+EXTRA_DIST = lib.rs
diff --git a/bindings/rust/libgpiod/Makefile.am b/bindings/rust/libgpiod/Makefile.am
new file mode 100644
index 0000000..6b55d0d
--- /dev/null
+++ b/bindings/rust/libgpiod/Makefile.am
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2022 Linaro Ltd.
+# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
+
+EXTRA_DIST = Cargo.toml
+SUBDIRS = examples src tests
diff --git a/bindings/rust/libgpiod/examples/Makefile.am b/bindings/rust/libgpiod/examples/Makefile.am
new file mode 100644
index 0000000..6028fff
--- /dev/null
+++ b/bindings/rust/libgpiod/examples/Makefile.am
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2022 Linaro Ltd.
+# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
+
+EXTRA_DIST = \
+ gpiodetect.rs \
+ gpio_events.rs \
+ gpiofind.rs \
+ gpioget.rs \
+ gpioinfo.rs \
+ gpiomon.rs \
+ gpioset.rs \
+ gpio_threaded_info_events.rs \
+ gpiowatch.rs
diff --git a/bindings/rust/libgpiod/src/Makefile.am b/bindings/rust/libgpiod/src/Makefile.am
new file mode 100644
index 0000000..df63c72
--- /dev/null
+++ b/bindings/rust/libgpiod/src/Makefile.am
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2022 Linaro Ltd.
+# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
+
+EXTRA_DIST = \
+ chip.rs \
+ edge_event.rs \
+ event_buffer.rs \
+ info_event.rs \
+ lib.rs \
+ line_config.rs \
+ line_info.rs \
+ line_request.rs \
+ line_settings.rs \
+ request_config.rs
diff --git a/bindings/rust/libgpiod/tests/Makefile.am b/bindings/rust/libgpiod/tests/Makefile.am
new file mode 100644
index 0000000..198f4e4
--- /dev/null
+++ b/bindings/rust/libgpiod/tests/Makefile.am
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2022 Linaro Ltd.
+# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
+
+EXTRA_DIST = \
+ chip.rs \
+ edge_event.rs \
+ info_event.rs \
+ line_config.rs \
+ line_info.rs \
+ line_request.rs \
+ line_settings.rs \
+ request_config.rs
+
+SUBDIRS = common
diff --git a/bindings/rust/libgpiod/tests/common/Makefile.am b/bindings/rust/libgpiod/tests/common/Makefile.am
new file mode 100644
index 0000000..4cfc355
--- /dev/null
+++ b/bindings/rust/libgpiod/tests/common/Makefile.am
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2022 Linaro Ltd.
+# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
+
+EXTRA_DIST = config.rs mod.rs
diff --git a/configure.ac b/configure.ac
index ccbb88a..dc945ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -266,7 +266,16 @@ AC_CONFIG_FILES([Makefile
bindings/python/examples/Makefile
bindings/python/tests/Makefile
bindings/python/tests/gpiosim/Makefile
+ bindings/rust/libgpiod-sys/src/Makefile
+ bindings/rust/libgpiod-sys/Makefile
+ bindings/rust/libgpiod/src/Makefile
+ bindings/rust/libgpiod/tests/common/Makefile
+ bindings/rust/libgpiod/tests/Makefile
+ bindings/rust/libgpiod/Makefile
+ bindings/rust/libgpiod/examples/Makefile
bindings/rust/Makefile
+ bindings/rust/gpiosim-sys/src/Makefile
+ bindings/rust/gpiosim-sys/Makefile
man/Makefile])
AC_OUTPUT
--
2.37.2
next prev parent reply other threads:[~2022-11-30 12:43 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-30 12:42 [libgpiod][PATCH 00/11] treewide: an assortment of tweaks and improvements Bartosz Golaszewski
2022-11-30 12:42 ` [libgpiod][PATCH 01/11] treewide: use C enum types explicitly Bartosz Golaszewski
2022-12-01 2:06 ` Viresh Kumar
2022-11-30 12:42 ` [libgpiod][PATCH 02/11] treewide: apply formatting changes with clang-format Bartosz Golaszewski
2022-11-30 13:59 ` Andy Shevchenko
2022-12-01 14:21 ` Bartosz Golaszewski
2022-11-30 12:42 ` [libgpiod][PATCH 03/11] treewide: use plural 'events' in read_edge_event() functions Bartosz Golaszewski
2022-12-01 2:08 ` Viresh Kumar
2022-11-30 12:42 ` [libgpiod][PATCH 04/11] treewide: rename EVENT_CLOCK to CLOCK Bartosz Golaszewski
2022-12-01 2:09 ` Viresh Kumar
2022-11-30 12:42 ` [libgpiod][PATCH 05/11] gpiosim: rename HOG_DIR to DIRECTION Bartosz Golaszewski
2022-12-01 2:10 ` Viresh Kumar
2022-11-30 12:42 ` [libgpiod][PATCH 06/11] tools: display the correct license with --version Bartosz Golaszewski
2022-11-30 12:42 ` [libgpiod][PATCH 07/11] bindings: rust: make reuse happy Bartosz Golaszewski
2022-11-30 14:05 ` Andy Shevchenko
2022-11-30 16:20 ` Bartosz Golaszewski
2022-12-01 2:20 ` Viresh Kumar
2022-12-01 8:29 ` Bartosz Golaszewski
2022-12-01 9:00 ` Viresh Kumar
2022-12-01 2:14 ` Viresh Kumar
2022-11-30 12:42 ` Bartosz Golaszewski [this message]
2022-12-01 2:13 ` [libgpiod][PATCH 08/11] bindings: rust: include rust sources in the release tarballs Viresh Kumar
2022-11-30 12:42 ` [libgpiod][PATCH 09/11] bindings: python: decouple the version of the bindings from libgpiod API version Bartosz Golaszewski
2022-11-30 12:42 ` [libgpiod][PATCH 10/11] bindings: python: fix the GPIOD_WITH_TESTS build flag Bartosz Golaszewski
2022-11-30 12:42 ` [libgpiod][PATCH 11/11] bindings: python: extend setup.py Bartosz Golaszewski
2022-11-30 14:09 ` Andy Shevchenko
2022-11-30 16:16 ` Bartosz Golaszewski
2022-12-07 8:58 ` [libgpiod][PATCH 00/11] treewide: an assortment of tweaks and improvements Bartosz Golaszewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221130124231.1054001-9-brgl@bgdev.pl \
--to=brgl@bgdev.pl \
--cc=andriy.shevchenko@linux.intel.com \
--cc=bartosz.golaszewski@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=viresh.kumar@linaro.org \
--cc=warthog618@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).