From: Florian Bezdeka <florian.bezdeka@siemens.com>
To: xenomai@lists.linux.dev, jan.kiszka@siemens.com
Cc: Florian Bezdeka <florian.bezdeka@siemens.com>
Subject: [PATCH 1/2] lib/boilerplate: Do not remove $(DESTDIR)$(libdir)/xenomai on uninstall
Date: Thu, 27 Apr 2023 16:32:10 +0200 [thread overview]
Message-ID: <20230426-florian-debianization-extract-testsuite-v1-1-0a957cde7b74@siemens.com> (raw)
In-Reply-To: <20230426-florian-debianization-extract-testsuite-v1-0-0a957cde7b74@siemens.com>
$(DESTDIR)$(libdir)/xenomai normally looks like this:
-rw-r--r-- 1 root root 11184 Nov 20 2013 bootstrap.o
-rw-r--r-- 1 root root 9416 Nov 20 2013 bootstrap-pic.o
drwxr-xr-x 2 root root 4096 Mar 24 19:37 testsuite
We have two files (matching bootstrap*.o) and the testsuite directory
which holds the smokey testsuite. When running "make uninstall" inside
the lib/boilerplate directory the test suite was removed as well.
Limiting the uninstall target to what has been installed during
"make install" fixes this problem.
Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
---
lib/boilerplate/init/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/boilerplate/init/Makefile.am b/lib/boilerplate/init/Makefile.am
index b78dd61d1..648168875 100644
--- a/lib/boilerplate/init/Makefile.am
+++ b/lib/boilerplate/init/Makefile.am
@@ -29,4 +29,4 @@ install-data-local:
$(INSTALL_DATA) $(call get_pic_object) $(DESTDIR)$(libdir)/xenomai/bootstrap-pic.o || true
uninstall-local:
- $(RM) -r $(DESTDIR)$(libdir)/xenomai
+ $(RM) $(DESTDIR)$(libdir)/xenomai/bootstrap*.o
--
2.39.2
next prev parent reply other threads:[~2023-04-27 14:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-27 14:32 [PATCH 0/2] debian: Move testsuite (smokey) into a separate package Florian Bezdeka
2023-04-27 14:32 ` Florian Bezdeka [this message]
2023-04-27 14:32 ` [PATCH 2/2] debian: Extract xenomai tests into separate package (xenomai-testsuite) Florian Bezdeka
2023-04-30 9:22 ` [PATCH 0/2] debian: Move testsuite (smokey) into a separate package Jan Kiszka
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=20230426-florian-debianization-extract-testsuite-v1-1-0a957cde7b74@siemens.com \
--to=florian.bezdeka@siemens.com \
--cc=jan.kiszka@siemens.com \
--cc=xenomai@lists.linux.dev \
/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).