From: Wolfram Sang <w.sang@pengutronix.de>
To: linux-rt-users@vger.kernel.org
Cc: Clark Williams <williams@redhat.com>,
Wolfram Sang <w.sang@pengutronix.de>
Subject: [PATCH 2/2] rt-tests: Simplify makefile a bit
Date: Mon, 29 Nov 2010 16:38:55 +0100 [thread overview]
Message-ID: <1291045135-15541-3-git-send-email-w.sang@pengutronix.de> (raw)
In-Reply-To: <1291045135-15541-1-git-send-email-w.sang@pengutronix.de>
install can also create directories with -D.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
---
Makefile | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index b83614c..c11e43a 100644
--- a/Makefile
+++ b/Makefile
@@ -114,12 +114,10 @@ install: all
mkdir -p "$(DESTDIR)$(srcdir)" "$(DESTDIR)$(mandir)/man8"
cp $(TARGETS) "$(DESTDIR)$(bindir)"
if test -n "$(PYLIB)" ; then \
- mkdir -p "$(DESTDIR)$(PYLIB)" ; \
- install -m 755 src/hwlatdetect/hwlatdetect.py $(DESTDIR)$(PYLIB)/hwlatdetect.py ; \
+ install -D -m 755 src/hwlatdetect/hwlatdetect.py $(DESTDIR)$(PYLIB)/hwlatdetect.py ; \
ln -s $(PYLIB)/hwlatdetect.py "$(DESTDIR)$(bindir)/hwlatdetect" ; \
fi
- mkdir -p "$(DESTDIR)$(srcdir)/backfire"
- install -m 644 src/backfire/backfire.c "$(DESTDIR)$(srcdir)/backfire/backfire.c"
+ install -D -m 644 src/backfire/backfire.c "$(DESTDIR)$(srcdir)/backfire/backfire.c"
gzip src/backfire/backfire.4 -c >"$(DESTDIR)$(mandir)/man4/backfire.4.gz"
gzip src/cyclictest/cyclictest.8 -c >"$(DESTDIR)$(mandir)/man8/cyclictest.8.gz"
gzip src/pi_tests/pi_stress.8 -c >"$(DESTDIR)$(mandir)/man8/pi_stress.8.gz"
--
1.7.2.3
prev parent reply other threads:[~2010-11-29 15:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-29 15:38 [PATCH 0/2] minor patches for rt-tests Wolfram Sang
2010-11-29 15:38 ` [PATCH 1/2] cyclictest: fix wakeup_latency name for tracing Wolfram Sang
2010-11-29 15:38 ` Wolfram Sang [this message]
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=1291045135-15541-3-git-send-email-w.sang@pengutronix.de \
--to=w.sang@pengutronix.de \
--cc=linux-rt-users@vger.kernel.org \
--cc=williams@redhat.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).